X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=js%2Fcrm.menubar.js;h=d28f0983498f6a908f41c5b3839575871977f3ba;hb=6172ea2978efbafe4740f97427aba7cec62fac50;hp=1d4f753838ae2549258e3b5906a8033446a7681a;hpb=d111a110d99397070c6f3ee38c9f1525c30eb767;p=civicrm-core.git diff --git a/js/crm.menubar.js b/js/crm.menubar.js index 1d4f753838..d28f098349 100644 --- 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(); - // 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() {