-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regions selection in nav bar mixes up entries #570
Comments
Seems, we ran into a 16 year old, known, behavior: REGROUP tag makes two groups with the same value
Built-in template tags and filters: regroup
|
Django templatetag regroup requires properly sorted data structure, otherwise intermediate items might be duplicated. This change fixes the bug by using proper order_by clause on queryset.
Fixes #570: regions nav bar items not sorted well
Describe the bug
Countries and regions are not display correctly grouped, but somehow mixed up.
We have 2 Germany, 3 Berlin/Brandenburg and all contain different locations/places.
It's confusing.
To Reproduce
See screenshots.
Expected behavior
Places shown grouped correctly, by areas and regions and countries.
Screenshots



The text was updated successfully, but these errors were encountered: