Project

General

Profile

Actions

Feature #14430

closed

Ordering Semester Filter on Courses Tab

Added by Luke Waltzer over 3 years ago. Updated over 3 years ago.

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

0%

Estimated time:
Deployment actions:

Description

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


Files

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

Updated by Boone Gorges over 3 years 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.

Actions #2

Updated by Colin McDonald over 3 years ago

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

Actions #3

Updated by Boone Gorges over 3 years 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.

Actions #4

Updated by Boone Gorges over 3 years ago

  • Status changed from Staged for Production Release to Resolved
Actions

Also available in: Atom PDF