From aca15c0d2d61d6109dddcdd5935d70db3fb32b75 Mon Sep 17 00:00:00 2001 From: Aurimas Vinckevicius Date: Sat, 1 Nov 2014 00:23:00 -0500 Subject: [PATCH] Fix deleting saved searches --- chrome/content/zotero/xpcom/search.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chrome/content/zotero/xpcom/search.js b/chrome/content/zotero/xpcom/search.js index 0166666ade..e38f921c40 100644 --- a/chrome/content/zotero/xpcom/search.js +++ b/chrome/content/zotero/xpcom/search.js @@ -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=?";