Closed aerugo closed 5 years ago
Sorting by toggled flags in app/views/camps/_list.html.erb was breaking the filtering function. It should be fixed and added again. Code that was removed:
<table id='table-view' style='display: none'> <tr> <th>Dream name</th> <th>Monster actions</th> <th>Approvers</th> </tr> <% @camps.count_all_flags.each do |camp_id, flag_sum| %> <% @the_camp = @camps.find(camp_id) %> <tr> <%= render :partial => 'camps/camp_row', locals: { camp: @the_camp, flag_sum: flag_sum } %> </tr> <% end %> </table>
Sorting by toggled flags in app/views/camps/_list.html.erb was breaking the filtering function. It should be fixed and added again. Code that was removed: