Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

always set assigned_at when assigning student to section #23860

Merged
merged 3 commits into from Jul 23, 2018

Conversation

davidsbailey
Copy link
Member

@davidsbailey davidsbailey commented Jul 23, 2018

Background

bug report: https://codeorg.axosoft.com/viewitem?id=1474&type=features&force_use_number=true

Description

always set UserScript.assigned_at when assigning student to section. this causes the most recently assigned section to show up as the user's primary course. The primary course is what we redirect the student to on sign-in, and is the highlighted course on /home for students and teachers.

Collateral Damage

None, AFAIK. I don't see any other places that assigned_at is surfaced in the product besides those listed above. @bencodeorg and @poorvasingal have also confirmed that we shouldn't be relying on the old behavior anywhere.

Copy link
Contributor

@islemaster islemaster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I took so long getting to this review. Looks great!

@davidsbailey davidsbailey merged commit c070ccd into staging Jul 23, 2018
@davidsbailey davidsbailey deleted the set-assigned-at branch August 7, 2018 15:38
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.

None yet

2 participants