Persistent search filter: This would a a search field which is used to filter all items. Rule 1: Items matching the filter are shown along with all their sub-items if expanded, regardless of if the sub-items match or not. Rule 2: Items not matching the filter are hidden, along with their sub-items, regardless of if they match the normal âdynamicâ search. Rule 1 takes priority over Rule 2. This filter would be a text box at the top of the page which is not cleared during any navigation and could perhaps be saved with the currently open document, thus remembered when switching documents.
âDynamicâ search: This is the regular search box.
Example list:
- Item 1 #important
- Item 2
- item 2a
- item 2b #important
- item 2b_1
- item 2b_2
*item 2c
- Item 3 #important
Set the persistent filter to â#importantâ. The view after applying the filter would show:
- Item 1 #important
- Item 2
- Item 3 #important
A key difference from regular search is that manually expanding and collapsing âItem 2â would never cause âItem 2aâ to appear.