-
Notifications
You must be signed in to change notification settings - Fork 1
Heedls 1038 reinstate archived courses #1356
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
Conversation
| $@"{selectDelegateCourseInfoQuery} | ||
| WHERE pr.CandidateID = @delegateId | ||
| AND ap.ArchivedDate IS NULL | ||
| --AND ap.ArchivedDate IS NULL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commented out code - can you remove?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is actually something that slipped past my notice due to how I relied on the Rider syntax highlighting. I'll just check whether this one really wants to be removed (the one below does because it searches by progressId directly).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It goes to the ViewDelegateController, so I'll remove it.
| $@"{selectDelegateCourseInfoQuery} | ||
| WHERE pr.ProgressID = @progressId | ||
| AND ap.ArchivedDate IS NULL | ||
| --AND ap.ArchivedDate IS NULL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commented out code - can you remove?
| ); | ||
| } | ||
|
|
||
| public IEnumerable<CourseStatisticsWithAdminFieldResponseCounts> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be private
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, merge away!
JIRA link
HEEDLS-1038
Description
A number of methods have been changed to no longer exclude Archived courses. Some methods have been split into exclusionary and non-exclusionary versions. Only endpoints associated with the CourseSetup section of the Tracking System should exclude archived courses. Methods addressing a specific customisation or progress entry by ID should not exclude archived courses regardless of section. This ticket only pertains to the Tracking System.
Screenshots
N/A
Developer checks
(Leave tasks unticked if they haven't been appropriate for your ticket.)
I have: