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
|
@ -116,7 +116,10 @@ Zotero.ItemTreeView.prototype.setTree = async function (treebox) {
|
||||||
return;
|
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) {
|
if (!this._treebox.treeBody) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user