From e39e32f700f42d54988b016ff85f270d800d48fb Mon Sep 17 00:00:00 2001 From: Jared Cosulich Date: Sun, 29 Jul 2018 10:08:04 -0400 Subject: [PATCH] fixing school category order --- app/views/schools/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/schools/show.html.haml b/app/views/schools/show.html.haml index 10cbf965..1dd0674c 100644 --- a/app/views/schools/show.html.haml +++ b/app/views/schools/show.html.haml @@ -9,6 +9,6 @@ %p No data is displayed for this school because of insufficient responses. - else .row - = render @school_categories.sort(&:root_index) + = render @school_categories.sort { |a, b| a.root_index <=> b.root_index } = render "shared/performance_spectrum"