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

klonos’s picture

Title: Remember entered filter (and status filter checkboxes status) across tabs. » Remember entered filter across tabs.

...actually the checkboxes state is remembered when switching tabs.

klonos’s picture

Issue summary: View changes

...also suggested to hide/disable empty (no search results) tabs and remember filter state after save.

greenskin’s picture

Status: Active » Fixed

Give the 2.x branch a try.

greenskin’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
klonos’s picture

I 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

...updating as per comment #1 + some other minor corrections/clarifications.