X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=js%2Fcrm.menubar.js;h=d28f0983498f6a908f41c5b3839575871977f3ba;hb=6871137ee4dda24f7ae671d73d128e97ce8e0cfa;hp=1d4f753838ae2549258e3b5906a8033446a7681a;hpb=9a910c398c014ecf79ac14b2847cbf8817312847;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() {