From ea72e63ca4ce4ae30385e2aa88f928490cc7d007 Mon Sep 17 00:00:00 2001 From: sarehag Date: Wed, 2 Mar 2016 16:05:14 +0100 Subject: [PATCH] CRM-17558:fixed search filtering --- templates/CRM/Group/Form/Search.tpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/CRM/Group/Form/Search.tpl b/templates/CRM/Group/Form/Search.tpl index 4846f16a2d..ddaf95c54e 100644 --- a/templates/CRM/Group/Form/Search.tpl +++ b/templates/CRM/Group/Form/Search.tpl @@ -100,11 +100,11 @@ "url": {/literal}'{crmURL p="civicrm/ajax/grouplist" h=0 q="snippet=4"}'{literal}, "data": function (d) { - var groupTypes = ($('.crm-group-search-form-block #group_type_1').prop('checked')) ? '1' : ''; + var groupTypes = ($('.crm-group-search-form-block #group_type_search_1').prop('checked')) ? '1' : ''; if (groupTypes) { - groupTypes = ($('.crm-group-search-form-block #group_type_2').prop('checked')) ? groupTypes + ',2' : groupTypes; + groupTypes = ($('.crm-group-search-form-block #group_type_search_2').prop('checked')) ? groupTypes + ',2' : groupTypes; } else { - groupTypes = ($('.crm-group-search-form-block #group_type_2').prop('checked')) ? '2' : ''; + groupTypes = ($('.crm-group-search-form-block #group_type_search_2').prop('checked')) ? '2' : ''; } var groupStatus = ($('.crm-group-search-form-block #group_status_1').prop('checked')) ? 1 : ''; -- 2.25.1