-
Notifications
You must be signed in to change notification settings - Fork 118
Description
Please complete the following fields as applicable:
Expected behaviour: Customizing a template results in 'Unpublished changes' in the 'Customized table' tab
Actual behaviour: After customizing an existing template the 'Customized table' tab still shows 'Not customized'. It is working though for new templates
Steps to reproduce: Customize an existing template in DMPOnline and then go back to the Admin -> Templates page and view the row on the 'Customizable templates' table.
Issue appears to be coming from this method:
roadmap/app/models/template.rb
Line 130 in 67edbda
| def self.org_customizations(dmptemplate_ids, org_id) |
Which is called by this filter (included on the paginable/templates_controller.rb):
roadmap/lib/template_filter.rb
Line 3 in 67edbda
| def apply_scoping(scope, customizable = false, all = false) |