[Suggestion] Option to keep the search results minimized or only show the matching items
For many of my Zotero items, I have around 3-5 attachments. When I perform a search and the keyword is found in a subitem, the default behavior is to expand the main item and show all its subitems (with the non-matching ones greyed out). This becomes unwieldy when there are many attachments and I only see a few matches per search unless I click an item and the '-' sign to collapse all subitems.
I propose introducing an option to always show search results minimized, i.e. only show the parent item. This could be implemented in the UI as a check box next to the search bar, or in the settings menu under the search tab.
An alternative, more complicated, solution would be to only display the parent item and the matching items by default (not displaying the greyed out items, unless expanded). It would still be possible to collapse or expand all items by using the '+' and '-' symbols as it is currently. The specific view of only showing matching items would only be recoverable by performing a new search.
I propose introducing an option to always show search results minimized, i.e. only show the parent item. This could be implemented in the UI as a check box next to the search bar, or in the settings menu under the search tab.
An alternative, more complicated, solution would be to only display the parent item and the matching items by default (not displaying the greyed out items, unless expanded). It would still be possible to collapse or expand all items by using the '+' and '-' symbols as it is currently. The specific view of only showing matching items would only be recoverable by performing a new search.
I could see adding a "Expand parent items of matching items" (or something shorter) checkbox to the drop-down in the search bar where you choose the search mode.
I think what you suggested with the checkbox sounds great as it would allow for searching the indexed pdfs, while retaining the collapsed layout of the returned search items!