webman-admin 在生成一键菜单的时候列表查询不出来
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 28/100
Research direction
Start from the source that assembles the $where conditions for the generated one-click menu list query. Reproduce the issue with a table field named limit and trace why the matching condition is removed. Done means the list query retains the intended condition and returns records for such fields; the payload does not name a file or test.
Written by the indexing model from the issue text.
Description
各位建议在新建表的时候,表字段名建议不要与Mysql 查询语句中的一些关键字冲突,比如 limit page size 等,我有一个表的字段名叫 limit 结果列表就是出不来,查了好多原因。后面看源码才发现,组装查询条件的时候,会查询表的字段名与参数是否有相同,有相同则会 unset
然后返回的 $where 里面就没有 查询条件了。默认如果字段里面没有的话,会自动将字段组装进去。目前还没去研究有没有前置或者后置方法可以兼容这一个功能的。先做个标记吧
- Dominant language
- JavaScript
- Stars
- 378
- Forks
- 48
- Avg merge
- 20h 9m
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from webman-php/admin
-
js代码错误 Open
Difficulty 1/5 Under an hour Newbie friendliness 70/100
webman-php/admin#125 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
webman-php/admin#101 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
webman-php/admin#135 ·
-
在swoole驱动环境下,会出现问题 Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
webman-php/admin#133 ·
-
layui升级问题 Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
webman-php/admin#129 · 3 comments ·
All issues in webman-php/admin
Similar issues
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
georgestephanis/p2026#40 ·
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Margaret-Petersen/food-delivery-app-clone-react-native#1981 ·