Skip to content

Commit

Permalink
Merge pull request #22540 from civicrm/5.46
Browse files Browse the repository at this point in the history
5.46 to master
  • Loading branch information
eileenmcnaughton authored Jan 17, 2022
2 parents 0e49023 + 51fcff7 commit 9401c3b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
var allFields = ctrl.admin.getAllFields(ctrl.suffix || '', ['Field', 'Custom', 'Extra', 'Pseudo']);
_.eachRight(ctrl.admin.savedSearch.api_params.select, function(fieldName) {
allFields.unshift({
id: fieldName,
id: _.last(fieldName.split(' AS ')),
text: searchMeta.getDefaultLabel(fieldName)
});
});
Expand Down

0 comments on commit 9401c3b

Please sign in to comment.