From d073fff9ab19b5b085778799cc48edd99373d7e6 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Thu, 5 Sep 2013 13:56:11 -0400 Subject: [PATCH] User friendly search builder operator labels --- CRM/Core/BAO/Mapping.php | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/CRM/Core/BAO/Mapping.php b/CRM/Core/BAO/Mapping.php index daea5f6dfa..a74e2ed0c9 100644 --- a/CRM/Core/BAO/Mapping.php +++ b/CRM/Core/BAO/Mapping.php @@ -848,20 +848,20 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping { if ($mappingType == 'Search Builder') { //CRM -2292, restricted array set $operatorArray = array( - '' => ts('-operator-'), - '=' => '=', - '!=' => '!=', - '>' => '>', - '<' => '<', - '>=' => '>=', - '<=' => '<=', - 'IN' => 'IN', - 'LIKE' => 'LIKE', - 'RLIKE' => 'RLIKE', - 'IS EMPTY' => 'IS EMPTY', - 'IS NOT EMPTY' => 'IS NOT EMPTY', - 'IS NULL' => 'IS NULL', - 'IS NOT NULL' => 'IS NOT NULL', + '' => ts('-operator-'), + '=' => '=', + '!=' => '≠', + '>' => '>', + '<' => '<', + '>=' => '≥', + '<=' => '≤', + 'IN' => ts('In'), + 'LIKE' => ts('Like'), + 'RLIKE' => ts('Regex'), + 'IS EMPTY' => ts('Is Empty'), + 'IS NOT EMPTY' => ts('Not Empty'), + 'IS NULL' => ts('Is Null'), + 'IS NOT NULL' => ts('Not Null'), ); $form->add('select', "operator[$x][$i]", '', $operatorArray); -- 2.25.1