samvera / hyrax

Hyrax is a Ruby on Rails Engine built by the Samvera community. Hyrax provides a foundation for creating many different digital repository applications.
http://hyrax.samvera.org/
Apache License 2.0
184 stars 124 forks source link

PCDM::Collection/Object - #ordered_objects method using AF relationship reflection #ordered_members #3590

Closed elrayle closed 5 years ago

elrayle commented 5 years ago

Code

lib/hydra/pcdm/models/concerns/pcdm_behavior.rb #ordered_objects

Active Fedora Usage

May also have to address:

Related issues

elrayle commented 5 years ago

Addressed through aliasing ordered_objects to child_objects and ordered_object_ids to child_object_ids. The #child_objects method returns the member objects in order which allows it to be used for the ordered methods.

These are addressed in PR #3677.