app/commands/decidim/proposals/update_proposal.rb in decidim-proposals-0.28.4 vs app/commands/decidim/proposals/update_proposal.rb in decidim-proposals-0.29.0.rc1
- old
+ new
@@ -131,14 +131,14 @@
def organization
@organization ||= current_user.organization
end
def current_user_proposals
- Proposal.from_author(current_user).where(component: form.current_component).published.where.not(id: proposal.id).except_withdrawn
+ Proposal.from_author(current_user).where(component: form.current_component).published.where.not(id: proposal.id).not_withdrawn
end
def user_group_proposals
- Proposal.from_user_group(user_group).where(component: form.current_component).published.where.not(id: proposal.id).except_withdrawn
+ Proposal.from_user_group(user_group).where(component: form.current_component).published.where.not(id: proposal.id).not_withdrawn
end
end
end
end