in $:/AdvancedSearch , some saved filters also rely on hardcoded StoryList and HistoryList tiddlers.
The PageTemplate uses a $navigator widget that already defines two variables: <<tv-history-list>> and <<tv-story-list>>.
All PageTemplate elements are enclosed within that $navigator widget, so it should be possible to use those two variables in filters instead of hard-coding the values.
These variables are also available within modal dialogs (displayed via tm-modal message handling) which are OUTSIDE of the PageTemplate (the .tc-page-container-wrapper element), so they can also be used there as well.
-e