app/forms/decidim/proposals/admin/proposal_base_form.rb in decidim-proposals-0.26.0 vs app/forms/decidim/proposals/admin/proposal_base_form.rb in decidim-proposals-0.26.1
- old
+ new
@@ -80,10 +80,10 @@
end
# Finds the Meetings of the current participatory space
def meetings
@meetings ||= Decidim.find_resource_manifest(:meetings).try(:resource_scope, current_component)
- &.order(title: :asc)
+ &.published&.order(title: :asc)
end
# Return the meeting as author
def meeting_as_author
@meeting_as_author ||= meetings.find_by(id: meeting_id)