gwu-libraries / gw-sufia

GWU Libraries Self-Deposit Prototype - based on Sufia 4
2 stars 1 forks source link

Add field on items to display collections they are associated with #37

Closed kilahimm closed 10 years ago

kilahimm commented 10 years ago

Additional field on the item view that would list the names of the collections the item has been associated with.

flyingzumwalt commented 10 years ago

See worthwhile for an example of this.

https://github.com/curationexperts/worthwhile/blob/master/app/views/curation_concern/base/_collections.html.erb

kerchner commented 10 years ago

I currently have the list of collections this file is in working in this branch https://github.com/gwu-libraries/sufia/tree/show-collections-file-is-in and half of the test cases as well. #88 is the next step with this work.

kerchner commented 10 years ago

Actually... much of this was just implemented with the following commit: https://github.com/projecthydra/sufia/commit/57ef1547fc611b8c70e986f53f4bdbd7af566fdf#diff-a838082fdd4f1a3b5ac7cd7079f65256 We should rewrite this to better mesh with @awead 's enhancement before submitting to projecthydra/sufia

awead commented 10 years ago

I did that to fit our current needs, which is just a comma-delimited list of collection names to which a file belongs. It's only in the my files view. Any ideas/enhancements you have would certainly be welcome!

kerchner commented 10 years ago

Resolved in projecthydra/sufia by https://github.com/projecthydra/sufia/pull/582 - updating Gemfile here will then take that update.