From 3dc63ed3e69b73b53de9af2593f05d7770d424d8 Mon Sep 17 00:00:00 2001 From: Tim Mallezie Date: Mon, 2 Mar 2015 22:21:34 +0100 Subject: [PATCH] add 'context' => 'search' --- CRM/Event/Form/SearchEvent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Event/Form/SearchEvent.php b/CRM/Event/Form/SearchEvent.php index ec27424354..c9eab1c83c 100644 --- a/CRM/Event/Form/SearchEvent.php +++ b/CRM/Event/Form/SearchEvent.php @@ -61,7 +61,7 @@ class CRM_Event_Form_SearchEvent extends CRM_Core_Form { array(CRM_Core_DAO::getAttribute('CRM_Event_DAO_Event', 'title')) ); - $this->addSelect('event_type_id', array('multiple' => TRUE)); + $this->addSelect('event_type_id', array('multiple' => TRUE, 'context' => 'search')); $eventsByDates = array(); $searchOption = array(ts('Show Current and Upcoming Events'), ts('Search All or by Date Range')); -- 2.25.1