We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ce0dea commit 0046b36Copy full SHA for 0046b36
app/controllers/plans_controller.rb
@@ -45,7 +45,8 @@ def new
45
.uniq.sort_by(&:title)
46
47
# get templates of user's customised org
48
- user_org_custom_templates = Template.latest_customizable.where(family_id: customization_ids)
+ user_org_custom_templates = Template.latest_customized_version_per_org(@plan.org_id)
49
+ .published
50
51
52
# get funder templates no customised templates
0 commit comments