From d78feb629c18829a74c88c13294304eaa2c55c55 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sat, 7 May 2016 18:27:45 -0400 Subject: [PATCH] CRM-18452 - Fix navigation menu item permission search box --- CRM/Admin/Form/Navigation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Admin/Form/Navigation.php b/CRM/Admin/Form/Navigation.php index 23270f05a4..74c36b85ce 100644 --- a/CRM/Admin/Form/Navigation.php +++ b/CRM/Admin/Form/Navigation.php @@ -72,7 +72,7 @@ class CRM_Admin_Form_Navigation extends CRM_Admin_Form { $permissions[] = array('id' => $id, 'label' => $vals[0], 'description' => (array) CRM_Utils_Array::value(1, $vals)); } $this->add('text', 'permission', ts('Permission'), - array('placeholder' => ts('Unrestricted'), 'class' => 'huge', 'data-select-params' => json_encode(array('data' => $permissions))) + array('placeholder' => ts('Unrestricted'), 'class' => 'huge', 'data-select-params' => json_encode(array('data' => array('results' => $permissions, 'text' => 'label')))) ); $operators = array('AND' => ts('AND'), 'OR' => ts('OR')); -- 2.25.1