From 3e084a626fed7fc4565949e49faf4af0f659e2f1 Mon Sep 17 00:00:00 2001 From: dnoneill Date: Mon, 9 Sep 2024 11:10:59 -0400 Subject: [PATCH] add subject as hidden facet field --- app/controllers/catalog_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/catalog_controller.rb b/app/controllers/catalog_controller.rb index 013d27df..71fc7c11 100644 --- a/app/controllers/catalog_controller.rb +++ b/app/controllers/catalog_controller.rb @@ -153,6 +153,7 @@ class CatalogController < ApplicationController config.add_facet_field Settings.FIELDS.IS_REPLACED_BY, label: 'Is Replaced By', show: false config.add_facet_field Settings.FIELDS.SOURCE, label: 'Source', show: false config.add_facet_field Settings.FIELDS.VERSION, label: 'Is Version Of', show: false + config.add_facet_field Settings.FIELDS.SUBJECT, label: 'Subject', show: false # Have BL send all facet field names to Solr, which has been the default # previously. Simply remove these lines if you'd rather use Solr request