Include tags and note content in "All Fields", and make that the default

This commit is contained in:
Dan Stillman 2011-04-26 14:52:18 +00:00
parent 8c92603b88
commit fdc6e1b6d3
2 changed files with 3 additions and 3 deletions

View file

@ -408,12 +408,12 @@ Zotero.Search.prototype.addCondition = function(condition, operator, value, requ
}
else {
this.addCondition('field', operator, part.text, false);
this.addCondition('tag', operator, part.text, false);
this.addCondition('note', operator, part.text, false);
}
this.addCondition('creator', operator, part.text, false);
if (condition == 'quicksearch-everything') {
this.addCondition('tag', operator, part.text, false);
this.addCondition('note', operator, part.text, false);
this.addCondition('annotation', operator, part.text, false);
if (part.inQuotes) {

View file

@ -3634,7 +3634,7 @@ var ZoteroPane = new function()
};
if (!modes[mode]) {
mode = 'everything';
mode = 'fields';
}
var searchBox = document.getElementById('zotero-tb-search');