Ordering Semester Filter on Courses Tab
Would like to propose ordering Semester filter dropdown on the courses tab by reverse chronological order rather than alphabetically, if possible.
#1 Updated by Boone Gorges 4 months ago
- Category name set to Courses
- Status changed from New to Staged for Production Release
- Target version set to 1.18.10
Good catch. When we redesigned all the directories to use the same filter structure as the Courses directory, I mistakenly overgeneralized the way the filter markup was generated so that all filter options were sorted alphabetically. This isn't appropriate for some of the filter types, so in https://github.com/cuny-academic-commons/cac/commit/1eee0aa0aa920c851147361302f76ebd9d4c558f I've switched it so that each filter is responsible for its own sort order. This will be part of the next release.
#3 Updated by Boone Gorges 4 months ago
It appears that the first few dozen courses created on the Commons incorrectly had a null value recorded for their course term, and that these were being included when generating a list of terms for the dropdown. I've made a correction in https://github.com/cuny-academic-commons/cac/commit/49a786c80ec3cb2974a167ad865c9f7a38a8d36b so that they'll be excluded in the future.