commit 820a4c67592b7b51fb48a9f6058b11dd3889f8ae parent 18a7f43eb14a305761044d7565e055819401d290 Author: Dan Stillman <dstillman@zotero.org> Date: Wed, 27 Jan 2010 07:01:10 +0000 Fix error performing a quoted quick search Diffstat:
| M | chrome/content/zotero/xpcom/search.js | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/xpcom/search.js b/chrome/content/zotero/xpcom/search.js @@ -972,8 +972,8 @@ Zotero.Search.prototype._buildQuery = function(){ for (var i in this._conditions){ var data = Zotero.SearchConditions.get(this._conditions[i]['condition']); - // Has a table or explicitly unspecial - if (data.table || (!data.special && typeof data.special != 'undefined')) { + // Has a table (or 'savedSearch', which doesn't have a table but isn't special) + if (data.table || data.name == 'savedSearch') { conditions.push({ name: data['name'], alias: data['name']!=this._conditions[i]['condition']