Closed clytemnestra closed 9 years ago
same here :
/* Advanced filters */
if (jQuery('.advanced-filter :input:visible', subject).filter(function () { return jQuery(this).val() }).length === 0) {
jQuery('.advanced-filter').hide();
};
I have no clue why they are doing this ...
It occurs in vendor/sonata-project/admin-bundle/Resources/public/Admin.js
@clytemnestra @whitewhidow thank you for reporting the issue. Can you please test PR #3359?
Hi, I've described the issue here, as well.
I've installed Sonata Admin Bundle in my Symfony2 project. Here is my composer.json's require:
I'm using the dev-master version, but this issue seems to appear for the 2.3 version, too.
I have some posts made by users, and whenever I want to use advanced filters to filter something, the advanced filters disappear after filtering, but if I recheck the 'advanced filters' link, they appear with the value inside.
This happens in both dev-master and 2.3 version, and it happens on all entities, not just this one.
I've checked the Sonata Sandbox demo and this doesn't happen there. How come? Is it a setting that enables this? Or is it a certain version? How to make the advanced filters stay visible after filtering?
Before filtering, I add a filter by 'Details'
After filtering, the advanced filter box disappears:
But if I press 'Advanced filters' link again, it will appear and still have the 'does not contain' option selected.