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

Ignore duplicate room resources when scheduling classes #3695

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

willgearty
Copy link
Member

@willgearty willgearty commented Nov 3, 2023

While it is not currently possible to create duplicate classrooms (see #303 (comment)), this makes it so any stray duplicate room resources (either those created before such duplicates were made impossible or those created manually in the admin panel) do not cause issues when scheduling classes with the ajax scheduler. We now ignore any of these duplicates, and the order_by() call should make it so we always ignore the same duplicate resource(s).

Fixes #1188.

@willgearty willgearty added this to the Stable Release 15 Fixes milestone Nov 3, 2023
@willgearty willgearty requested a review from kkbrum November 3, 2023 01:20
@willgearty willgearty self-assigned this Nov 3, 2023
@willgearty willgearty merged commit 7bb6e44 into main Nov 29, 2023
5 checks passed
@willgearty willgearty deleted the ajax-dupe-resources branch November 29, 2023 20:42
willgearty added a commit that referenced this pull request Dec 6, 2023
willgearty added a commit that referenced this pull request Jan 5, 2024
* Docs for #3670, #3672, #3671, and #3676

* Docs for #3677, #3673, #3681, and #3683

* Docs for #3682, #3678, #3684, and 74b7e0f

* Docs for 74b7e0f, #3685, #3687, and #3686

* Docs for #3688, #3694, #3695, #3692, and #3691

* Docs for #3642, #3696, #3697, and #3700

* change date and add customized buttons for bigpicture

* add theme help text

---------

Co-authored-by: Katherine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Duplicate resources cause Ajax scheduler errors
2 participants