From e0b774f0fab89ec461628280e5794b1ae911f43c Mon Sep 17 00:00:00 2001 From: Deepak Srivastava Date: Tue, 4 Mar 2014 17:35:02 +0530 Subject: [PATCH] make contributions only - the default option --- CRM/Contribute/BAO/Query.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Contribute/BAO/Query.php b/CRM/Contribute/BAO/Query.php index a434976830..43920394a5 100644 --- a/CRM/Contribute/BAO/Query.php +++ b/CRM/Contribute/BAO/Query.php @@ -371,7 +371,7 @@ class CRM_Contribute_BAO_Query { $query->_tables['civicrm_contribution_soft'] = $query->_whereTables['civicrm_contribution_soft'] = 1; } else if ($value == 'both_related') { $query->_where[$grouping][] = "contribution_search_scredit_combined.filter_id IS NOT NULL"; - $query->_qill[$grouping][] = ts('Contributions OR Soft Credits? - Related To Each Other'); + $query->_qill[$grouping][] = ts('Contributions OR Soft Credits? - Both But Related'); $query->_tables['civicrm_contribution_soft'] = $query->_whereTables['civicrm_contribution_soft'] = 1; } else if ($value == 'both') { $query->_qill[$grouping][] = ts('Contributions OR Soft Credits? - Both'); @@ -982,9 +982,9 @@ class CRM_Contribute_BAO_Query { // Soft credit related fields $options = array( - 'both_related' => ts('Related To Each Other'), - 'only_scredits' => ts('Soft Credits Only'), 'only_contribs' => ts('Contributions Only'), + 'only_scredits' => ts('Soft Credits Only'), + 'both_related' => ts('Both But Related'), 'both' => ts('Both'), ); $form->add('select', 'contribution_or_softcredits', ts('Contributions OR Soft Credits?'), $options, FALSE, array('class' => "crm-select2")); -- 2.25.1