TIM-JYU / TIM

TIM (The Interactive Material) is an open-source cloud-based platform for creating interactive learning documents.
https://tim.education/view/about/en-US
MIT License
13 stars 4 forks source link

Add sort options for sorting by answer submit date #3638

Closed saviit closed 2 months ago

saviit commented 2 months ago

Adds two sort options, date and date_desc to allAnswersPlain route. These allow sorting the fetched answers by submission time in either ascending (oldest first, sort=date) or descending (newest first, sort=date_desc) order.

Enables answer sorting for single tasks in the UI and changes the sort priority selection to a dropdown to better accommodate the larger number of sorting options.