SearchKit - Rename 'Filters' to 'Having' for clarity
authorColeman Watts <coleman@civicrm.org>
Sun, 11 Apr 2021 15:51:35 +0000 (11:51 -0400)
committerColeman Watts <coleman@civicrm.org>
Sun, 11 Apr 2021 16:03:29 +0000 (12:03 -0400)
ext/search/ang/crmSearchAdmin/compose/criteria.html

index 7eb92ef116171e3f4ff83adfdfeb523b98478a26..732b1f4aebc66f87c639a6e9f605fb74be9fcf75 100644 (file)
@@ -10,7 +10,7 @@
           </button>
         </div>
         <fieldset class="api4-clause-fieldset">
-          <crm-search-clause clauses="join" format="json" skip="2 + getJoin(join[0]).conditions.length" op="AND" label="{{ ts('If') }}" fields="fieldsForWhere" ></crm-search-clause>
+          <crm-search-clause clauses="join" format="json" skip="2 + getJoin(join[0]).conditions.length" op="AND" label="{{:: ts('If') }}" fields="fieldsForWhere" ></crm-search-clause>
         </fieldset>
       </fieldset>
       <fieldset>
   </div>
   <div class="crm-search-criteria-column">
     <fieldset class="api4-clause-fieldset">
-      <crm-search-clause clauses="$ctrl.savedSearch.api_params.where" format="string" op="AND" label="{{ ts('Where') }}" fields="fieldsForWhere" ></crm-search-clause>
+      <crm-search-clause clauses="$ctrl.savedSearch.api_params.where" format="string" op="AND" label="{{:: ts('Where') }}" fields="fieldsForWhere" ></crm-search-clause>
     </fieldset>
     <fieldset ng-if="$ctrl.paramExists('having') && $ctrl.savedSearch.api_params.groupBy.length" class="api4-clause-fieldset">
-      <crm-search-clause clauses="$ctrl.savedSearch.api_params.having" format="string" op="AND" label="{{ ts('Filter') }}" fields="fieldsForHaving" ></crm-search-clause>
+      <crm-search-clause clauses="$ctrl.savedSearch.api_params.having" format="string" op="AND" label="{{:: ts('Having') }}" fields="fieldsForHaving" ></crm-search-clause>
     </fieldset>
   </div>
 </div>