mirror of
https://github.com/zotero/zotero.git
synced 2026-10-09 03:18:01 +00:00
Allow loading of saved search in constructor
This commit is contained in:
parent
e0d955afba
commit
ab7f618a3e
1 changed files with 5 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue