app/controllers/decidim/meetings/directory/meetings_controller.rb in decidim-meetings-0.23.6 vs app/controllers/decidim/meetings/directory/meetings_controller.rb in decidim-meetings-0.24.0.rc1

- old
+ new

@@ -23,11 +23,11 @@ [klass.model_name.name.underscore, klass.model_name.human(count: 2)] end.uniq @meeting_spaces = @meeting_spaces.sort_by do |_param, name| name end - @meeting_spaces = @meeting_spaces.prepend(["all", t(".all")]) + @meeting_spaces.prepend(["all", t(".all")]) end def calendar render plain: CalendarRenderer.for(current_organization), content_type: "type/calendar" end @@ -51,10 +51,10 @@ } end def default_search_params { - scope: Meeting.visible_meeting_for(current_user) + scope: Meeting.not_hidden.visible_meeting_for(current_user) } end def context_params { component: meeting_components, organization: current_organization }