Fixes a bug involving multiple js searches
authorMatthias Schmidt <gravatronics@live.com>
Sat, 25 Feb 2012 11:26:30 +0000 (12:26 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 25 Feb 2012 11:26:30 +0000 (12:26 +0100)
Currently, if a search value is excluded in one search, it's automatically excluded from all (independent) searches.

wcfsetup/install/files/js/WCF.js

index 0668827eb1093df7b2625709527da818db1a5314..e826c9dc3a390ec4e3c4dcccd6b40720b4b17290 100644 (file)
@@ -3269,6 +3269,7 @@ WCF.Search.Base = Class.extend({
                }
 
                this._callback = callback;
+               this._excludedSearchValues = [];
                if (excludedSearchValues) {
                        this._excludedSearchValues = excludedSearchValues;
                }