jhu-idc / idc-ui-theme

0 stars 3 forks source link

Collections filter using single-valued Solr field #44

Closed jordandukart closed 2 years ago

jordandukart commented 3 years ago

Given a object which has multiple field_is_member_of relationships only the first relationship is queried while using the advanced search component.

This is due to using the single valued field its_field_member_of as opposed to its multi-valued counterpart itm_field_member_of.

Updating occurrences in https://github.com/jhu-idc/idc-ui-theme/blob/develop/js/packages/glimmer-idc/src/utils/results.ts should fix that.

Below showing Solr documents for some example objects:

Screen Shot 2021-06-15 at 2 35 06 PM
jabrah commented 3 years ago

Agreed that we should make this change. Seems simple enough that I should be able to include it in my next PR which will have a few small theme related updates