Skip to content
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

Don't sort priority countries #209

Closed

Conversation

n-studio
Copy link

According to #52 we shouldn't sort priority countries.

A change has been introduced in #202 to use the sort_provided value instead of false.

It removes the possibility to have the normal list of countries sorted alphabetically, and the priority list sorted as provided (which imo is an intuitive expectation).

We should either use a different attribute (sort_priority_provided) or just set it to false as it used to be.

@n-studio n-studio changed the title fix: don't sort priority countries Don't sort priority countries Sep 25, 2022
@pmor
Copy link
Member

pmor commented Jan 3, 2023

The current behaviour is a bug that I completely missed. The intended behaviour is the one you describe. I'll do a PR to fix it, while still allowing sort_provided to be used for priority countries if one chooses to.

Edit: Thanks for the report and the PR!

@pmor
Copy link
Member

pmor commented Jan 3, 2023

Closing in favour of #213

@pmor pmor closed this Jan 3, 2023
@n-studio n-studio deleted the fix/dont-sort-priority-countries branch January 4, 2023 04:21
@n-studio n-studio restored the fix/dont-sort-priority-countries branch January 4, 2023 04:21
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.

2 participants