Skip to content

Commit

Permalink
Backport 'Fix initiative form is not taking into account the scope se…
Browse files Browse the repository at this point in the history
…lected' to v0.28 (decidim#13603)

Co-authored-by: Alejandro Rueda López <[email protected]>
  • Loading branch information
decidim-bot and alexrlpz authored Nov 5, 2024
1 parent 261ca28 commit d74ab48
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def build_initiative
end

def scoped_type
InitiativesTypeScope.order(:id).find_by(type: form.type)
InitiativesTypeScope.order(:id).find_by(type: form.type, scope: form.scope)
end

def signature_end_date
Expand Down

0 comments on commit d74ab48

Please sign in to comment.