projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge in 5.26
[civicrm-core.git]
/
js
/
crm.menubar.js
diff --git
a/js/crm.menubar.js
b/js/crm.menubar.js
index 1d4f753838ae2549258e3b5906a8033446a7681a..d28f0983498f6a908f41c5b3839575871977f3ba 100644
(file)
--- a/
js/crm.menubar.js
+++ b/
js/crm.menubar.js
@@
-365,10
+365,6
@@
var $selection = $('.crm-quickSearchField input:checked'),
label = $selection.parent().text(),
value = $selection.val();
var $selection = $('.crm-quickSearchField input:checked'),
label = $selection.parent().text(),
value = $selection.val();
- // These fields are not supported by advanced search
- if (!value || value === 'first_name' || value === 'last_name') {
- value = 'sort_name';
- }
$('#crm-qsearch-input').attr({name: value, placeholder: '\uf002 ' + label});
}
$('.crm-quickSearchField').click(function() {
$('#crm-qsearch-input').attr({name: value, placeholder: '\uf002 ' + label});
}
$('.crm-quickSearchField').click(function() {