Skip to content

Resolve "Sorting courses chrono*logically*"

Henry Page requested to merge 97-sorting-courses-chrono-logically into development

What does this mr do?

Currently "Finished Courses" are sorted (unintentionally, as a result of the initial list of roles retrieved from pAPI) by their end date. After it has been sorted by date, it should also be sorted by the type of the role that the user possesses for that specific edition. This way, users first see past courses where they have been an Admin, Head-TA, TA, etc. In other words, the date is the primary sort key, and the role is the secondary sort key.

Does this MR meet the acceptance criteria?

  • I have added a changelog entry to reflect the significant changes I made.
  • A test was created to test the changes.
  • I have updated the documentation accordingly.
  • I adhere to the style guide.

Screenshots

image image

Closes #97 (closed)

Edited by Henry Page

Merge request reports