UMNLibraries / umedia

UMedia Archive Search Interface 2.0
1 stars 2 forks source link

Broken Facets #109

Closed theberg75 closed 1 year ago

theberg75 commented 1 year ago

Descriptive summary

Object-level metadata fields that should be faceted are not working properly. See: https://umedia.lib.umn.edu/item/p16022coll621:222?facets%5Bcollection_name_s%5D%5B%5D=Records+of+YMCA+International+Work+in+Egypt

Check out any faceted fields: Date Created; Creator; Subjects; Parent Collection; etc. (All fields in record including collection name at bottom). This is happening for all objects across collections / contributors.

Expected behavior

mberkowski commented 1 year ago

Fixed in f022329 - a boolean logic issue was returning the actual boolean value when deciding whether to print a facet link instead of printing the field name to facet on.

mberkowski commented 1 year ago

@theberg75 noticed Contributor was still not faceting. Turns out because the details view was showing contributor rather than contributor_ss where the former is fieldType text_en and the latter is strings. Something prevents text_en from faceting in this context. Fixed with 70f2315