app/controllers/decidim/meetings/meetings_controller.rb in decidim-meetings-0.24.0.rc2 vs app/controllers/decidim/meetings/meetings_controller.rb in decidim-meetings-0.24.0
- old
+ new
@@ -88,10 +88,10 @@
def meeting
@meeting ||= Meeting.not_hidden.where(component: current_component).find(params[:id])
end
def meetings
- @meetings ||= paginate(search.results.order(:start_time))
+ @meetings ||= paginate(search.results.order(start_time: :desc))
end
def registration
@registration ||= meeting.registrations.find_by(user: current_user)
end