Commit 05220333 authored by yashodha's avatar yashodha

Expose Primary member only/Non primary member only filter in membership reports

parent 491c3f20
......@@ -612,6 +612,18 @@ class CRM_Report_Form_Member_ContributionDetail extends CRM_Report_Form {
return $statistics;
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;
public function postProcess() {
// get the acl clauses built before we assemble the query
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment