Skip to content

Commit b410981

Browse files
Merge branch 'features/add-skos-collection-filter' into development
2 parents 2369fc6 + 9a692f8 commit b410981

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • lib/ontologies_linked_data/models

lib/ontologies_linked_data/models/class.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def self.urn_id(acronym,classId)
9191

9292
# Hypermedia settings
9393
embed :children, :ancestors, :descendants, :parents, :prefLabelXl, :altLabelXl, :hiddenLabelXl
94-
serialize_default :prefLabel, :synonym, :definition, :cui, :semanticType, :obsolete, :matchType, :ontologyType, :provisional, :created, :modified # an attribute used in Search (not shown out of context)
94+
serialize_default :prefLabel, :synonym, :definition, :cui, :semanticType, :obsolete, :matchType, :ontologyType, :provisional, :created, :modified, :memberOf, :inScheme # an attribute used in Search (not shown out of context)
9595
serialize_methods :properties, :childrenCount, :hasChildren
9696
serialize_never :submissionAcronym, :submissionId, :submission, :descendants
9797
aggregates childrenCount: [:count, :children]

0 commit comments

Comments
 (0)