Project

General

Profile

Feature #14430

Ordering Semester Filter on Courses Tab

Added by Luke Waltzer 4 months ago. Updated 4 months ago.

Status:
Resolved
Priority name:
Normal
Assignee:
-
Category name:
Courses
Target version:
Start date:
2021-05-07
Due date:
% Done:

0%

Estimated time:

Description

Would like to propose ordering Semester filter dropdown on the courses tab by reverse chronological order rather than alphabetically, if possible.

semesters.png (157 KB) semesters.png Colin McDonald, 2021-05-07 10:21 AM

History

#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.

#2 Updated by Colin McDonald 4 months ago

Thanks, Luke and Boone. Are you also seeing the blank checkbox? See attached - what does that mean?

#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.

#4 Updated by Boone Gorges 4 months ago

  • Status changed from Staged for Production Release to Resolved

Also available in: Atom PDF