Closed crowesn closed 7 years ago
Size : 2
BLOCKER: This is handled by the catalog_controller.rb : https://github.com/projecthydra/sufia/blob/d3e52e8bcbf5b5700c5e61057b236969306ef66e/lib/generators/sufia/templates/catalog_controller.rb
Although it is easy to configure the catalog_controller to use title for sorting, there is a solr architecture problem with multi-valued fields. See error:
RSolr::Error::Http - 400 Bad Request Error: 'can not sort on multivalued field: title_tesim','code'=>400}}
This is different from curate, where title was a single valued field. Sufia allows for multiple titles for a work.
Can I work with you on this?
We can follow University of Alberta's issue: https://github.com/ualbertalib/HydraNorth/commits/1263_sufia_migrate
See this PR for Sufia 6: https://github.com/ualbertalib/HydraNorth/pull/1229/files
rake solr:reindex is also broken in sufia 7.2 : https://github.com/projecthydra/sufia/issues/2774
Adding to the agenda for our Metadata meeting
We will keep the title as multi-valued in the model. We will hide the extra title fields on the input form. We will add an alternate title to the model and form.
Descriptive summary
Add control to sort collections by title in catalog view.
Related work
Trello card