samvera / hydra-works

A ruby gem implementation of the PCDM Works domain model based on the Samvera software stack
Other
24 stars 14 forks source link

Add parent and child methods that aggregate both directions of relationships #358

Closed elrayle closed 5 years ago

carolyncole commented 5 years ago

@elrayle I reverted my changes. It occurred to me the Solr method would not work for version of the Models that are not Hydra::Works, or Hydra::Collection directly. I do not believe that the sub models also index the parent model class. It would be nice if that occurred, but that is a breaking change, so the original code is better.