-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
file set does not appear to have a way to get to it's work #258
Comments
did you try |
Hi Folks, wrk.members << fs I notice the following comment in the Dive into Hydra tutorial Lesson 6: create instances of hydra works models |
@roryegerton No, I don't believe this is an update on this. Instead of appending to cc: @jcoyne @tpendragon @elrayle the issue here is that |
…s are added via `members.<<` or `ordered_members.<<` Fixes samvera/hydra-works#258
@roryegerton This is now resolved in the underlying hydra-pcdm gem, and will be resolved in hydra-works when it picks up the next release of hydra-pcdm. Thanks for the reminder! |
Hi Folks, thanks a million for this. We did: ordered_members << fileset And works fine |
Cool, @roryegerton. If you don't need ordering among the members, you may now also use |
To reproduce...
If the model defines that a file set can belong to one and only one work, then the method in_work should return the work wrk. If a file set can belong to multiple works, then method in_works should return all works that have the file set fs as a member.
The text was updated successfully, but these errors were encountered: