Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

webman-admin 在生成一键菜单的时候列表查询不出来

Open
#69 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
28/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
mysql, php
Domain
backend, databases

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

image

image
image
image

然后返回的 $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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from webman-php/admin

All issues in webman-php/admin

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.