mirror of
https://github.com/zotero/zotero.git
synced 2026-09-24 00:51:37 +00:00
Don't include child items in "Titles & Creators" searches
This commit is contained in:
parent
9f72f0af4b
commit
236901c1ad
1 changed files with 5 additions and 0 deletions
|
|
@ -436,6 +436,11 @@ Zotero.Search.prototype.addCondition = function(condition, operator, value, requ
|
|||
|
||||
this.addCondition('blockEnd');
|
||||
}
|
||||
|
||||
if (condition == 'quicksearch-titlesAndCreators') {
|
||||
this.addCondition('noChildren', 'true');
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
// Shortcut to add a collection
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue