Hi folks. I have taken a copy of the sidebar search $:/core/ui/SideBarSegments/search
because I want to make use of all the popups, and dropdowns that come in the search.
However I want to customise it so the results count and list is also filtered by +[subfilter<include-scope-filter>] and -[subfilter<exclude-scope-filter>]
The code is quite complex with the various bells and whistles so I am asking because perhaps you can see where to do this and I have missed it or you have prior experience.
I am trying to build a “in context search” eg search only tiddlers that meet a particular condition such as tagged with the current tiddler (and other conditions).