From 5d6de49742e71996a555d6b2565e771477b2970e Mon Sep 17 00:00:00 2001 From: Chidi Ekuma Date: Thu, 25 Apr 2024 18:17:59 +0100 Subject: [PATCH] Order subjects in _placement_dates.html.erb --- app/views/candidates/schools/profile/_placement_dates.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/candidates/schools/profile/_placement_dates.html.erb b/app/views/candidates/schools/profile/_placement_dates.html.erb index 093248364..610ca9a3f 100644 --- a/app/views/candidates/schools/profile/_placement_dates.html.erb +++ b/app/views/candidates/schools/profile/_placement_dates.html.erb @@ -32,7 +32,7 @@ <% if date.supports_subjects? %>

<% if date.subjects.present? %> - <%= to_sentence(date.subjects.map(&:name)) %> + <%= to_sentence(date.subjects.map(&:name).sort) %> <% else %> All subjects <% end %>