commit fdc6e1b6d3a766801a05d7ec3e0a9dbb4fe3a461
parent 8c92603b88cb6ae72df98396dfdb5f920fa99fb3
Author: Dan Stillman <dstillman@zotero.org>
Date: Tue, 26 Apr 2011 14:52:18 +0000
Include tags and note content in "All Fields", and make that the default
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/chrome/content/zotero/xpcom/search.js b/chrome/content/zotero/xpcom/search.js
@@ -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) {
diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js
@@ -3634,7 +3634,7 @@ var ZoteroPane = new function()
};
if (!modes[mode]) {
- mode = 'everything';
+ mode = 'fields';
}
var searchBox = document.getElementById('zotero-tb-search');