Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@matildepark
Copy link
Contributor

Previously we were checking for a title for the association by accessing
a non-existent property of the key we were using to iterate through
the object. What we want to do is access the iterated object to find
that title, and so this commit does that.

Because of this issue, group titles weren't being used to sort groups in all sidebars except Groups (which has a bespoke sort) — it was silently defaulting to the paths, sorting by @p.

Fixes #2672.

Previously we were checking for a title for the association by accessing
a non-existent property of the key we were using to iterate through
the object. What we want to do is access the iterated object to find
that title, and so this commit does that.
@matildepark
Copy link
Contributor Author

ping @loganallenc

Copy link
Contributor

@tacryt-socryp tacryt-socryp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ixv ixv merged commit 77933e9 into master Apr 9, 2020
@ixv ixv deleted the mp/re-alphabetise branch April 9, 2020 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chat, publish, links, groups: sidebar not alphabetically sorting group titles

4 participants