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

Keep order of debates in private URL ballot column #2371

Merged
merged 1 commit into from
Dec 31, 2023
Merged

Conversation

tienne-B
Copy link
Member

@tienne-B tienne-B commented Dec 9, 2023

This commit keeps the order of debates for ballot links as given, despite the debate query being replaced by another one. The objects from the new query get put into a dict to be accessed in the iteration of debates, in order to keep them sorted.

The alternative was to sort the query by round sequence, but that would be less generalizable.

Fixes #2369

This commit keeps the order of debates for ballot links as given,
despite the debate query being replaced by another one. The objects from
the new query get put into a dict to be accessed in the iteration of
debates, in order to keep them sorted.

The alternative was to sort the query by round sequence, but that would
be less generalizable.

Fixes #2369
@tienne-B tienne-B merged commit 12bd80e into develop Dec 31, 2023
4 checks passed
@tienne-B tienne-B deleted the bug/2369 branch December 31, 2023 05:24
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.

Ballots' column in private URL table is not in the same order
1 participant