Skip to content

Commit 8d092b1

Browse files
authored
Merge pull request #6776 from Countly/fix/sort-events-alphabetically
fix: sort all events alphabetically
2 parents 0b2d7ca + 9cbcaa2 commit 8d092b1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

frontend/express/public/core/events/javascripts/countly.details.models.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,9 @@
486486
}
487487
});
488488
}
489+
allEvents.sort(function(a, b) {
490+
return a.label.localeCompare(b.label);
491+
});
489492
return allEvents;
490493
},
491494
getGroupData: function(groupData, selectedEventName) {

0 commit comments

Comments
 (0)