Skip to content

Commit aea17f8

Browse files
committed
Fix typo in SchoolsController
This was preventing the patient counts from showing correctly. Jira-Issue: MAV-2645
1 parent d095c33 commit aea17f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/controllers/schools_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def index
2323
@patient_count_by_school_id =
2424
Patient
2525
.joins(:patient_locations)
26-
.where(patient_locations: { location: @location, academic_year: })
26+
.where(patient_locations: { location: @locations, academic_year: })
2727
.group(:school_id)
2828
.count
2929

0 commit comments

Comments
 (0)