From 35697fe011201b7f20f274df7a617b874af27657 Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Wed, 16 Dec 2020 14:22:54 -0500 Subject: [PATCH] LP1908298 Bootstrap OPAC: Type filter missing from advanced search The Item Type filter and the Bib Level filter were both commented out in the opac's config.tt2 file. This patch removes the comment hashmarks. To test. Go to the Advanced Search in the Bootstrap Opac. Notice that the Item Type filter and Bib Level Filters are missing. Apply the patch. The two filters should now be displayed. Signed-off-by: Garry Collum Signed-off-by: Terran McCanna Signed-off-by: Galen Charlton --- Open-ILS/src/templates-bootstrap/opac/parts/config.tt2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/templates-bootstrap/opac/parts/config.tt2 b/Open-ILS/src/templates-bootstrap/opac/parts/config.tt2 index d4e40bb5e8..68ee267919 100755 --- a/Open-ILS/src/templates-bootstrap/opac/parts/config.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/parts/config.tt2 @@ -140,12 +140,12 @@ facet.default_display_count = 4; # for consistency. search.adv_config = [ - #{adv_label => l("Item Type"), adv_attr => ["mattype", "item_type"], id => 'adv_selector_item_type'}, + {adv_label => l("Item Type"), adv_attr => ["mattype", "item_type"], id => 'adv_selector_item_type'}, {adv_label => l("Item Form"), adv_attr => "item_form", id => 'adv_selector_item_form'}, {adv_label => l("Language"), adv_attr => "item_lang", id => 'adv_selector_item_lang'}, {adv_label => l("Audience"), adv_attr => ["audience_group", "audience"], id => 'adv_selector_audience', adv_break => 1}, {adv_label => l("Video Format"), adv_attr => "vr_format", id => 'adv_selector_video_format'}, - #{adv_label => l("Bib Level"), adv_attr => "bib_level", id => 'adv_selector_bib_level'}, + {adv_label => l("Bib Level"), adv_attr => "bib_level", id => 'adv_selector_bib_level'}, {adv_label => l("Literary Form"), adv_attr => "lit_form", id => 'adv_selector_lit_form'}, {adv_label => l("Shelving Location"), adv_special => "copy_location", id => 'adv_copy_location_selector', js_only => 101, adv_break => 1}, {adv_label => l("Search Library"), adv_special => "lib_selector", id => 'adv_org_selector'}, -- 2.11.0