Fix sort_by since start_date is now a string

pull/6827/head
Oliver Günther 8 years ago
parent a496f783a3
commit 24b9ebac59
  1. 2
      app/models/meeting.rb

@ -167,7 +167,7 @@ class Meeting < ActiveRecord::Base
objs.group_by(&:start_month).each do |month, objs|
objs.group_by(&:start_date).each do |date, objs|
objs.group_by(&:start_time).each do |date, objs|
by_start_year_month_date[year][month][date] = objs

Loading…
Cancel
Save