From dd2a4f64235af340075106593569940a1fb03786 Mon Sep 17 00:00:00 2001 From: Franky Van Liedekerke Date: Tue, 25 Oct 2016 22:21:51 +0200 Subject: [PATCH] Show better text when executing the search --- CRM/Member/BAO/Query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Member/BAO/Query.php b/CRM/Member/BAO/Query.php index 58dd377070..7a7cf84018 100644 --- a/CRM/Member/BAO/Query.php +++ b/CRM/Member/BAO/Query.php @@ -261,7 +261,7 @@ class CRM_Member_BAO_Query { case 'membership_is_current_member': // We don't want to include all tests for sql OR CRM-7827 $query->_where[$grouping][] = CRM_Contact_BAO_Query::buildClause("civicrm_membership_status.is_current_member", $op, $value, "Boolean"); - $query->_qill[$grouping][] = ts('Active Member'); + $query->_qill[$grouping][] = ts('Is an %1 Member', array(1 => $value ? 'Active' : 'Inactive')); $query->_tables['civicrm_membership_status'] = $query->_whereTables['civicrm_membership_status'] = 1; return; -- 2.25.1