Include tags and note content in "All Fields", and make that the default
This commit is contained in:
parent
8c92603b88
commit
fdc6e1b6d3
2 changed files with 3 additions and 3 deletions
|
@ -408,12 +408,12 @@ Zotero.Search.prototype.addCondition = function(condition, operator, value, requ
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
this.addCondition('field', operator, part.text, false);
|
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);
|
this.addCondition('creator', operator, part.text, false);
|
||||||
|
|
||||||
if (condition == 'quicksearch-everything') {
|
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);
|
this.addCondition('annotation', operator, part.text, false);
|
||||||
|
|
||||||
if (part.inQuotes) {
|
if (part.inQuotes) {
|
||||||
|
|
|
@ -3634,7 +3634,7 @@ var ZoteroPane = new function()
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!modes[mode]) {
|
if (!modes[mode]) {
|
||||||
mode = 'everything';
|
mode = 'fields';
|
||||||
}
|
}
|
||||||
|
|
||||||
var searchBox = document.getElementById('zotero-tb-search');
|
var searchBox = document.getElementById('zotero-tb-search');
|
||||||
|
|
Loading…
Reference in a new issue