update tests
This commit is contained in:
@@ -96,7 +96,7 @@ class TeacherDashboardService
|
||||
->whereIn('tc.class_section_id', $classSectionIds)
|
||||
->where('tc.school_year', $schoolYear)
|
||||
->orderBy('tc.class_section_id')
|
||||
->orderByRaw("FIELD(tc.position,'main','ta')")
|
||||
->orderByRaw("CASE tc.position WHEN 'main' THEN 0 WHEN 'ta' THEN 1 ELSE 2 END")
|
||||
->orderBy('u.firstname')
|
||||
->get();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user