Skip to content

Commit

Permalink
Disregard case when sorting devrooms on schedule page
Browse files Browse the repository at this point in the history
 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.
  • Loading branch information
qmonnet committed Oct 24, 2024
1 parent eb29154 commit a6335cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/schedule.html
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ <h3><a name="devrooms"></a>Developer rooms</h3>
<div class="container-fluid">
<div class="row-fluid">
<% 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| %>
<div class="span<%= 9 / columns %>">
<ul>
<% list.each do |t| %>
Expand Down

0 comments on commit a6335cd

Please sign in to comment.