Merge pull request #14557 from civicrm/5.15
[civicrm-core.git] / CRM / Report / Form / Member / Detail.php
index 4d816ee3db969eb74f2371510df65e4701129623..93a64ce21c20afcc4ed25fd07941751cb723497c 100644 (file)
@@ -284,6 +284,18 @@ class CRM_Report_Form_Member_Detail extends CRM_Report_Form {
     }
   }
 
+  public function getOperationPair($type = "string", $fieldName = NULL) {
+    $result = parent::getOperationPair($type, $fieldName);
+
+    //re-name IS NULL/IS NOT NULL for clarity
+    if ($fieldName == 'owner_membership_id') {
+      $result['nll'] = ts('Primary members only');
+      $result['nnll'] = ts('Non-primary members only');
+    }
+
+    return $result;
+  }
+
   /**
    * Alter display of rows.
    *