CRM-12924 and CRM-12940, searches and adv search panes via queryObjects hook, exposing searchable fields.