www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit f8515693aac88f25ccbc142a5a4cb1e9f97fbbe7
parent 44ea578fd533aaf00545084f3ca84621403fd9f3
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon, 22 Apr 2013 20:08:01 -0400

Fix error when no results from regexp search

Diffstat:
Mchrome/content/zotero/xpcom/search.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/search.js b/chrome/content/zotero/xpcom/search.js @@ -733,7 +733,7 @@ Zotero.Search.prototype.search = function(asTempTable){ var sql = "SELECT GROUP_CONCAT(itemID) FROM items WHERE " + "itemID NOT IN (SELECT itemID FROM " + tmpTable + ")"; - var res = Zotero.DB.valueQuery(sql).split(","); + var res = Zotero.DB.valueQuery(sql); var scopeIDs = res ? res.split(",") : []; } // If an ALL search, scan only items from the main search