Skip to content

Conversation

@Cola-as
Copy link

@Cola-as Cola-as commented Oct 26, 2025

Fixes #12596

Outline of Solution

Summary
Fix Team-column sorting on the Instructor → Individual Deadline Extensions page. The comparator was correct, but the component passed the wrong field for SortBy.TEAM_NAME (used sectionName instead of teamName). Replaced field references so sorting now groups and orders rows by actual team names.

Fix (what changed)

In sortStudentPanelsBy(...), update the TEAM_NAME branch to use a.teamName / b.teamName.

No API/schema changes; frontend-only, minimal diff.

Files touched

src/web/app/pages-instructor/instructor-session-individual-extension-page/instructor-session-individual-extension-page.component.ts

case SortBy.TEAM_NAME: → teamName (was sectionName)

(tests) src/web/app/pages-instructor/instructor-session-individual-extension-page/instructor-session-individual-extension-page.component.spec.ts

Adds regression spec: first click = ASC (Team 1 → Team 2 → Team 3), second click = DESC (reverse).

Control: Name column ASC still works.

Uploading 截屏2025-10-26 18.24.14.png…

截屏2025-10-26 18 24 28

ShuoLi7849969 and others added 4 commits October 23, 2025 01:17
Added validation and visual feedback for Course ID and Course Name fields
in the Copy Course modal to ensure consistency with the Create Course page.
Empty fields now display red warning text and an exclamation icon when left blank.

This change aligns the Copy Course form behavior with the Create Course form
and addresses issue TEAMMATES#12653.
…y-fields-not-highlighted

Fix: highlight mandatory fields in Copy Course modal (TEAMMATES#12653)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Instructor extending individual deadlines: table doesn't sort by team

3 participants