mirror of
https://github.com/zotero/zotero.git
synced 2026-10-07 02:58:09 +00:00
Restore auto-expanding of search matches except in My Publications
Saved searches and the trash should automatically expand items to show
matching child items, but that was broken in d47275210.
This commit is contained in:
parent
46531a4c69
commit
36371630b5
1 changed files with 4 additions and 1 deletions
|
|
@ -116,7 +116,10 @@ Zotero.ItemTreeView.prototype.setTree = async function (treebox) {
|
|||
return;
|
||||
}
|
||||
|
||||
await this.refresh(true);
|
||||
// Don't expand to show search matches in My Publications
|
||||
var skipExpandMatchParents = this.collectionTreeRow.isPublications();
|
||||
|
||||
await this.refresh(skipExpandMatchParents);
|
||||
if (!this._treebox.treeBody) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue