From a6335cd742986c731e32bfb945b4b9ea537adf74 Mon Sep 17 00:00:00 2001 From: Quentin Monnet Date: Thu, 24 Oct 2024 11:23:25 +0100 Subject: [PATCH] Disregard case when sorting devrooms on schedule page The version currently online displays "eBPF" at the end of the list of devrooms on the schedule page, because it starts with a lowercase, making it harder to find in the list. Instead, make devroom sorting case-insensitive. This is consistent with how the lists for the Stands, BoFs, and Junior events are generated on the same page. --- content/schedule.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/schedule.html b/content/schedule.html index abf5804f..8d3288dd 100644 --- a/content/schedule.html +++ b/content/schedule.html @@ -225,7 +225,7 @@

Developer rooms

<% columns = [columns, devrooms.size].min %> - <% devrooms.sort_by{|x| x[:title]}.each_slice((devrooms.size / columns).ceil) do |list| %> + <% devrooms.sort_by{|x| x[:title].downcase}.each_slice((devrooms.size / columns).ceil) do |list| %>
    <% list.each do |t| %>