Fix switching search modes by removing an unnecessary optimization

This commit is contained in:
Simon Kornblith 2011-10-03 02:47:07 +00:00
parent 54147844ab
commit 328bc96da7

View File

@ -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;
}