diff --git a/chrome/content/zotero/xpcom/collectionTreeRow.js b/chrome/content/zotero/xpcom/collectionTreeRow.js index 3ee287a0b1..a5a65929ad 100644 --- a/chrome/content/zotero/xpcom/collectionTreeRow.js +++ b/chrome/content/zotero/xpcom/collectionTreeRow.js @@ -355,6 +355,10 @@ Zotero.CollectionTreeRow.prototype.getSearchObject = Zotero.Promise.coroutine(fu if (this.isTrash()) { s2.addCondition('deleted', 'true'); } + // Don't search child items in "Title, Creator, Year" mode + if (Zotero.Prefs.get('search.quicksearch-mode') == 'titleCreatorYear') { + includeScopeChildren = false; + } s2.setScope(s, includeScopeChildren); if (this.searchText) {