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];
|
let id = ids[i];
|
||||||
var search = new Zotero.Search;
|
var search = new Zotero.Search;
|
||||||
search.id = id;
|
search.id = id;
|
||||||
|
yield search.loadPrimaryData();
|
||||||
|
yield search.loadConditions();
|
||||||
notifierData[id] = { old: search.serialize() };
|
notifierData[id] = { old: search.serialize() };
|
||||||
|
|
||||||
var sql = "DELETE FROM savedSearchConditions WHERE savedSearchID=?";
|
var sql = "DELETE FROM savedSearchConditions WHERE savedSearchID=?";
|
||||||
|
|
Loading…
Reference in a new issue