From 820a4c67592b7b51fb48a9f6058b11dd3889f8ae Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 27 Jan 2010 07:01:10 +0000 Subject: [PATCH] Fix error performing a quoted quick search --- 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 index ce3a28f78f..56a0613ee4 100644 --- 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']