Skip to content

Customized template not appearing as customized in Templates tab #1345

@briri

Description

@briri

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:

def self.org_customizations(dmptemplate_ids, org_id)

Which is called by this filter (included on the paginable/templates_controller.rb):

def apply_scoping(scope, customizable = false, all = false)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions