commit 328bc96da775a2b1dda93a8cfab8b750a2f421f5 parent 54147844abd0f3a8a703f8fc791a9a45ec55dd2d Author: Simon Kornblith <simon@simonster.com> Date: Mon, 3 Oct 2011 02:47:07 +0000 Fix switching search modes by removing an unnecessary optimization Diffstat:
| M | chrome/content/zotero/xpcom/collectionTreeView.js | | | 4 | +--- |
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/chrome/content/zotero/xpcom/collectionTreeView.js b/chrome/content/zotero/xpcom/collectionTreeView.js @@ -2112,9 +2112,7 @@ Zotero.ItemGroup.prototype.getChildTags = function() { Zotero.ItemGroup.prototype.setSearch = function(searchText) { - if(searchText !== this.searchText) { - Zotero.ItemGroupCache.clear(); - } + Zotero.ItemGroupCache.clear(); this.searchText = searchText; }