From 36d6ff58b852eb491b93bb754f1cb955febcc41f Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 26 Dec 2006 07:04:39 +0000 Subject: [PATCH] Fixed inadvertent switch() fall-through causing all collections to be recursive (which some people want, but it shouldn't be the case by accident) --- chrome/content/zotero/xpcom/search.js | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/xpcom/search.js b/chrome/content/zotero/xpcom/search.js index 6af987c274..b45306bc61 100644 --- a/chrome/content/zotero/xpcom/search.js +++ b/chrome/content/zotero/xpcom/search.js @@ -413,6 +413,7 @@ Zotero.Search.prototype._buildQuery = function(){ switch (data['name']){ case 'noChildren': var noChildren = this._conditions[i]['operator']=='true'; + continue; // Search subfolders case 'recursive':