Fix deleting saved searches
This commit is contained in:
parent
0e31e7ca01
commit
aca15c0d2d
1 changed files with 2 additions and 0 deletions
|
@ -1735,6 +1735,8 @@ Zotero.Searches = new function(){
|
|||
let id = ids[i];
|
||||
var search = new Zotero.Search;
|
||||
search.id = id;
|
||||
yield search.loadPrimaryData();
|
||||
yield search.loadConditions();
|
||||
notifierData[id] = { old: search.serialize() };
|
||||
|
||||
var sql = "DELETE FROM savedSearchConditions WHERE savedSearchID=?";
|
||||
|
|
Loading…
Reference in a new issue