diff --git a/chrome/content/zotero/xpcom/search.js b/chrome/content/zotero/xpcom/search.js index 66efaf079..1b2981c87 100644 --- a/chrome/content/zotero/xpcom/search.js +++ b/chrome/content/zotero/xpcom/search.js @@ -20,13 +20,17 @@ ***** END LICENSE BLOCK ***** */ -Zotero.Search = function(){ +Zotero.Search = function(savedSearchID){ this._sql = null; this._sqlParams = null; this._maxSearchConditionID = 0; this._conditions = []; this._savedSearchID = null; this._savedSearchName = null; + + if (savedSearchID) { + this.load(savedSearchID); + } }