开发者

Admin Generator: can't have filters on primary keys(from the many-to-many tables) in the intermediate table

In my Symfony's admin Generator,I have a "many-to-many" relation b/w "Monitor" and "Server". In the result table "Benchmark" i 开发者_运维知识库can't see filters for servers and monitors! Is this Normal? and is there any solution to add this filters!


Think about it, a filter is not a select tool. Just helps you to find what you may search by a description. If you know the primary key you can directly access to the element, so is senseless to filter by primary key.

If you need to add this fields you can add them in your BenchmarkForm class in /lib/form/ folder in your project

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜