Don't include "&" and "and" in search

This commit is contained in:
Simon Kornblith 2011-08-31 23:02:33 +00:00
parent 70bf48a616
commit 21254238e1

View file

@ -224,7 +224,7 @@ var Zotero_QuickFormat = new function () {
}
var s = new Zotero.Search();
str = str.replace(" & ", " ", "g").replace(" and ", " ", "g");
if(charRe.test(str)) {
Zotero.debug("QuickFormat: QuickSearch: "+str);
s.addCondition("quicksearch-titlesAndCreators", "contains", str);