We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d558a05 + a63afda commit a355058Copy full SHA for a355058
1 file changed
app/controllers/api/testing/locations_controller.rb
@@ -16,6 +16,10 @@ def index
16
@locations = @locations.has_gias_year_groups(gias_year_groups)
17
end
18
19
+ if params.key?(:site)
20
+ @locations = @locations.where(site: params[:site].presence)
21
+ end
22
+
23
if (is_attached_to_team = params[:is_attached_to_team]).present?
24
academic_year = AcademicYear.pending
25
0 commit comments