-
Notifications
You must be signed in to change notification settings - Fork 27
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
Feature/sort talks page #717
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
self.assertGreater(pos_talk_a, pos_talk_b) | ||
self.assertGreater(pos_talk_b, pos_talk_c) | ||
self.assertGreater(pos_talk_c, pos_talk_d) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to make this assert closer to self.assertTrue(D < C < B < A)
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That construction loses information about which specific item was out of order if the test fails.
Appy feedback from PR Co-authored-by: Stefano Rivera <github@rivera.za.net>
This adds support for sorting the talks list by track, language or title.
We add links to the table headers to switch sorting.
Sorting is currently global, although it can be triggered on any of the tables created by using multiple talk types, but I don't think the complexity of sorting within a type only is worthwhile.
Closes #710