psu-libraries/psulib_traject

Subject Browse Facet Fields

Closed this issue · 1 comments

Because the regular subject_facet allows for all kinds of subject-type fields and they don't belong well together in an ordered list, we're going to limit our subjects to "topic" (long story how topic is a subset of subject). The facet is mostly simple but we'll want to add one set of PSU-specific subjects to it, which will require a test (650|*7| can be a lot of different kinds of subjects and they're specified in subfield 2). It's supposed to be PSt, but since typoes happne, we'll be safer downcasing it to catch any edge cases.

For subject browse facet (subject_browse_facet?), index:

650|*0|abcdgvxyz:650|*1|abcdgvxyz:650|*3|abcdgvxyz:650|*3|abcdgvxyz

ALSO

IF '650|*7|2'.downcase == 'pst' THEN index 650|*7|abcdgvxyz

Sample catkeys for the pst test: 713144, 15419115, 29252939

duplicate of #329