Skip to content

Commit

Permalink
Sort devrooms by their rank
Browse files Browse the repository at this point in the history
  • Loading branch information
johanvdw committed Oct 24, 2024
1 parent eb29154 commit b2bfaa2
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[:rank]}.each_slice((devrooms.size / columns).ceil) do |list| %>
<div class="span<%= 9 / columns %>">
<ul>
<% list.each do |t| %>
Expand Down

0 comments on commit b2bfaa2

Please sign in to comment.