Problem/Motivation
As it is now, if one enters some search filter and switches to a different tab, the filter textbox is reset. So say for example one wants to search across tabs for any views related modules they need to enable/disable. They enter "views" in the search box and they get the results for the current tab they're in (unless of course they use the "All" tab that just shows everything), then they try the next tab only to see that the filter is reset and they need to type "views" again. This is inconsistent with the way that checkboxes state is actually remembered across tabs.
Proposed resolution
Both the text entered in the search box and the status filter checkboxes should be remembered across tabs and should be reset only manually (text deleted, checkboxes unchecked).
Ideally, we could also have these two sub-features:
- Each tab should show the number of returned results so we can skip checking out those that have none (alternatively empty tabs could be disabled or hidden altogether from display).
- The state of the filter, the tab the user was in and the status of checkboxes should be remembered after one saves configuration and the page refreshes.
Thanx for considering this one ;)
Remaining tasks
...
User interface changes
...
API changes
???
Comments
Comment #1
klonos...actually the checkboxes state is remembered when switching tabs.
Comment #1.0
klonos...also suggested to hide/disable empty (no search results) tabs and remember filter state after save.
Comment #2
greenskin commentedGive the 2.x branch a try.
Comment #3
greenskin commentedComment #4
klonosI did give it a try James and it does work. Thanx!
Still, I returned back to using the forked Module filter NG mainly because it addresses #1023252: UI should utilize Drupal 7 core more - new 7.x-2.x branch?. Could you please give us an "official" reply in that issue and let us know if you intent to merge the work already done in that fork back to the original module?...
http://drupal.org/node/1023252#comment-4994764
Thanx in advance.
Comment #5.0
(not verified) commented...updating as per comment #1 + some other minor corrections/clarifications.