-
Notifications
You must be signed in to change notification settings - Fork 349
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix SQL Get all assignment types having assignments for this course p…
…eriod Needed since we are now updating types owner (STAFF_ID) on course period teacher change. As a teacher may have various course periods for the same course, and thus shared types, then, he would loose access to his types (and assignments) when one of those course periods' teacher is changed. To prevent this edge case, when getting types, we check if 1. STAFF_ID is current teacher (owner) 2. Or, if type has assignments for this course period and teacher (old owner)
- Loading branch information
1 parent
a920198
commit 4b70c0c
Showing
5 changed files
with
85 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters