U4-7257 - The dictionary items in Umbraco 7.3 are not sorted alphabetically

Created by John Ligtenberg 15 Oct 2015, 13:20:21 Updated by Shannon Deminick 22 Oct 2015, 16:44:05

1 Attachments

Comments

John Ligtenberg 15 Oct 2015, 13:29:43

Actually the place in which a new dictionary appears seems random. It is not even the order in which entered.


ajaykarwal 19 Oct 2015, 14:48:51

Also seeing the same issue. The Languages group is also appearing in a random order (either alphabetical or creation order)


Tim Payne 20 Oct 2015, 09:50:35

Also seeing this issue, except that the items appear to be randomly ordered. Looking at the code in the source, no ordering is applied to the dictionary items.

The loadDictionary file needs to be altered to apply ordering to the tree. Should be a pretty simple one for a quick pull request.


Tim Payne 22 Oct 2015, 15:34:25

It looks like they're being ordered by the id column, which used to be numeric (so they were in the order they were added in). In 7.3, id is now a unique id, so when it's ordering, it's ordering by the GUID, which is effectively a randomised order. Am prepping a PR for this now.


Tim Payne 22 Oct 2015, 16:20:12

Pull request submitted with fix: https://github.com/umbraco/Umbraco-CMS/pull/834


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted: Pull request

Affected versions: 7.3.0

Due in version: 7.3.1

Sprint:

Story Points:

Cycle: