From: Franky Van Liedekerke Date: Tue, 25 Oct 2016 20:21:51 +0000 (+0200) Subject: Show better text when executing the search X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=dd2a4f64235af340075106593569940a1fb03786;p=civicrm-core.git Show better text when executing the search --- 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;