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

fix ordering for user profiles and qualification grants #428

Merged
merged 4 commits into from
Apr 14, 2021
Merged

Conversation

jeriox
Copy link
Contributor

@jeriox jeriox commented Apr 12, 2021

No description provided.

@jeriox jeriox requested a review from felixrindt April 12, 2021 18:39
@jeriox jeriox added the [C] bug Something isn't working label Apr 12, 2021
@coveralls
Copy link

coveralls commented Apr 12, 2021

Coverage Status

Coverage remained the same at 89.376% when pulling e48b54a on bugfix/ordering into a0b6d11 on main.

@@ -114,7 +114,9 @@ def get_participation_display(self):
", ".join(
participant.qualifications.filter(
category__in=relevant_qualification_categories
).values_list("title", flat=True)
)
.order_by("title")
Copy link
Member

Choose a reason for hiding this comment

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

Did you try ordering by Category? Might be sensible as well...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good point

Copy link
Member

Choose a reason for hiding this comment

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

Now we can't change the ordering in the relevent-qualification settings, sadly.

@jeriox jeriox enabled auto-merge (squash) April 14, 2021 18:21
@jeriox jeriox merged commit 77b886e into main Apr 14, 2021
@jeriox jeriox deleted the bugfix/ordering branch April 14, 2021 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C] bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants