Skip to content

Commit

Permalink
Merge pull request #158 from Carifio24/find-merge-class-size-15
Browse files Browse the repository at this point in the history
Use 15 instead of 12 as the cutoff size when looking for a merge class
  • Loading branch information
Carifio24 authored Nov 4, 2024
2 parents e4277a4 + ac6f01a commit 8aa55ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stories/hubbles_law/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ export async function findClassForMerge(database: Sequelize, classID: number): P
INNER JOIN
(
SELECT * FROM StudentsClasses GROUP BY class_id
HAVING COUNT(student_id) >= 12
HAVING COUNT(student_id) >= 15
) C
ON Classes.id = C.class_id
WHERE id != ${classID}
Expand Down

0 comments on commit 8aa55ac

Please sign in to comment.