Followup to renaming the extension, this fixes strings with the old name.
try {
$search = civicrm_api3('Extension', 'getsingle', [
- 'full_name' => "org.civicrm.search",
+ 'full_name' => 'org.civicrm.search_kit',
]);
if ($search['status'] === 'installed') {
$mgd[] = [
"use strict";
angular.module('crmSearchActions').controller('crmSearchActionDelete', function($scope, dialogService) {
- var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+ var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
model = $scope.model,
ctrl = this;
"use strict";
angular.module('crmSearchActions').controller('crmSearchActionUpdate', function ($scope, $timeout, crmApi4, dialogService) {
- var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+ var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
model = $scope.model,
ctrl = this;
},
templateUrl: '~/crmSearchActions/crmSearchActions.html',
controller: function($scope, crmApi4, dialogService) {
- var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+ var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
ctrl = this,
initialized = false,
unwatchIDs = $scope.$watch('$ctrl.ids.length', watchIDs);
},
templateUrl: '~/crmSearchActions/crmSearchBatchRunner.html',
controller: function($scope, $timeout, $interval, crmApi4) {
- var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+ var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
ctrl = this,
currentBatch = 0,
totalBatches,
require: {ngModel: 'ngModel'},
templateUrl: '~/crmSearchActions/crmSearchInput/crmSearchInput.html',
controller: function($scope) {
- var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+ var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
ctrl = this;
this.isMulti = function() {
require: {ngModel: 'ngModel'},
template: '<div class="form-group" ng-include="$ctrl.getTemplate()"></div>',
controller: function($scope, formatForSelect2) {
- var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+ var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
ctrl = this;
this.$onInit = function() {
},
templateUrl: '~/crmSearchAdmin/crmSearchAdmin.html',
controller: function($scope, $element, $location, $timeout, crmApi4, dialogService, searchMeta, formatForSelect2) {
- var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+ var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
ctrl = this;
this.DEFAULT_AGGREGATE_FN = 'GROUP_CONCAT';
return html;
},
controller: function($scope, $timeout, searchMeta) {
- var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+ var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
ctrl = this;
this.preview = this.stale = false;
},
templateUrl: '~/crmSearchAdmin/crmSearchAdminLinkGroup.html',
controller: function ($scope, $element, $timeout, searchMeta) {
- var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+ var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
ctrl = this;
this.styles = CRM.crmSearchAdmin.styles;
},
templateUrl: '~/crmSearchAdmin/crmSearchAdminLinkSelect.html',
controller: function ($scope, $element, $timeout) {
- var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+ var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
ctrl = this;
this.setValue = function(val) {
},
templateUrl: '~/crmSearchAdmin/crmSearchAdminTokenSelect.html',
controller: function ($scope, $element, searchMeta) {
- var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+ var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
ctrl = this;
this.initTokens = function() {
},
templateUrl: '~/crmSearchAdmin/crmSearchClause.html',
controller: function ($scope, $element, $timeout, searchMeta) {
- var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+ var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
ctrl = this,
meta = {};
this.conjunctions = {AND: ts('And'), OR: ts('Or'), NOT: ts('Not')};
},
templateUrl: '~/crmSearchAdmin/crmSearchFunction.html',
controller: function($scope, formatForSelect2, searchMeta) {
- var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+ var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
ctrl = this;
this.$onInit = function() {
},
templateUrl: '~/crmSearchAdmin/displays/searchAdminDisplayList.html',
controller: function($scope) {
- var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+ var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
ctrl = this;
this.symbols = {
},
templateUrl: '~/crmSearchAdmin/displays/searchAdminDisplayTable.html',
controller: function($scope) {
- var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+ var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
ctrl = this;
this.$onInit = function () {
"use strict";
angular.module('crmSearchAdmin').controller('searchList', function($scope, savedSearches, crmApi4) {
- var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+ var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
ctrl = $scope.$ctrl = this;
$scope.formatDate = CRM.utils.formatDate;
this.savedSearches = savedSearches;
},
templateUrl: '~/crmSearchDisplayList/crmSearchDisplayList.html',
controller: function($scope, $element, crmApi4, searchDisplayUtils) {
- var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+ var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
ctrl = this;
this.page = 1;
},
templateUrl: '~/crmSearchDisplayTable/crmSearchDisplayTable.html',
controller: function($scope, $element, crmApi4, searchDisplayUtils) {
- var ts = $scope.ts = CRM.ts('org.civicrm.search'),
+ var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'),
ctrl = this;
this.page = 1;