From 24b9ebac5908c501730370766ffe7c74a18932a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Wed, 22 Jun 2016 14:03:26 +0200 Subject: [PATCH] Fix sort_by since start_date is now a string --- app/models/meeting.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/meeting.rb b/app/models/meeting.rb index 354ad5a122..ad2bf9a23f 100644 --- a/app/models/meeting.rb +++ b/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