Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNina Pypchenko <22447785+nina-py@users.noreply.github.com>2020-09-25 05:58:56 +0300
committerGitHub <noreply@github.com>2020-09-25 05:58:56 +0300
commit9967583d3368bb93a8f02e8d47a22db5c6353427 (patch)
treea120f342c81c8c36adad2e384febf559af4ccc5f /plugins/CustomDimensions
parent6c017eca55cd0503c1d135278410f46a75b21e95 (diff)
Fixes #16155. Custom dimension ids now sorted as integers, not strings (#16473)
Diffstat (limited to 'plugins/CustomDimensions')
-rw-r--r--plugins/CustomDimensions/angularjs/manage/list.directive.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CustomDimensions/angularjs/manage/list.directive.html b/plugins/CustomDimensions/angularjs/manage/list.directive.html
index d1f5ab2f5d..5e7637ea3d 100644
--- a/plugins/CustomDimensions/angularjs/manage/list.directive.html
+++ b/plugins/CustomDimensions/angularjs/manage/list.directive.html
@@ -32,7 +32,7 @@
<tr ng-show="scope.numSlotsUsed == 0 && !dimensionsList.model.isLoading">
<td colspan="5">{{ 'CustomDimensions_NoCustomDimensionConfigured'|translate }}</td>
</tr>
- <tr ng-repeat="customDimension in dimensionsList.model.customDimensions|filter:{scope: scope.value}|orderBy:'idcustomdimension'"
+ <tr ng-repeat="customDimension in dimensionsList.model.customDimensions|filter:{scope: scope.value}|orderBy:'idcustomdimension.parseInt()'"
class="customdimension" ng-class="customDimension.idcustomdimension">
<td class="index">{{ customDimension.idcustomdimension }}</td>
<td class="name">{{ customDimension.name }}</td>