Skip to content

[ENG-11264] Exclude Collection Cedar Metadata Templates from Project Template List#11754

Open
ihorsokhanexoft wants to merge 1 commit into
CenterForOpenScience:feature/es2-consolidationfrom
ihorsokhanexoft:feature/ENG-11264
Open

[ENG-11264] Exclude Collection Cedar Metadata Templates from Project Template List#11754
ihorsokhanexoft wants to merge 1 commit into
CenterForOpenScience:feature/es2-consolidationfrom
ihorsokhanexoft:feature/ENG-11264

Conversation

@ihorsokhanexoft
Copy link
Copy Markdown
Contributor

Ticket

https://openscience.atlassian.net/browse/ENG-11264

Purpose

Cedar metadata templates for collections shouldn't appear for projects

Changes

Added in admin is_for_collections field, added filtering by this field on
/_/cedar_metadata_templates/?filter[is_for_collections]=true

Without this filter, all templates are returned
With false value, templates for projects only are returned

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant