From 908163754010df8d78acf463d6777ba2c4c3a2e9 Mon Sep 17 00:00:00 2001 From: Emma Date: Wed, 18 Jan 2017 21:37:23 +0000 Subject: [PATCH] Bug 17134: Replace item types codes with category in facets (opac) To test: -Search in OPAC for two or more items -Note that item types display category codes rather than names -Make change to file and test in OPAC Signed-off-by: Owen Leonard Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- opac/opac-search.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-search.pl b/opac/opac-search.pl index acd7b90158..15e24b3f34 100755 --- a/opac/opac-search.pl +++ b/opac/opac-search.pl @@ -610,7 +610,7 @@ if ($tag) { $pasarParams .= '&simple_query=' . uri_escape_utf8($simple_query); $pasarParams .= '&query_type=' . uri_escape_utf8($query_type) if ($query_type); eval { - ($error, $results_hashref, $facets) = $searcher->search_compat($query,$simple_query,\@sort_by,\@servers,$results_per_page,$offset,$expanded_facet,undef,$itemtypes,$query_type,$scan,1); + ($error, $results_hashref, $facets) = $searcher->search_compat($query,$simple_query,\@sort_by,\@servers,$results_per_page,$offset,$expanded_facet,undef,$itemtypes_nocategory,$query_type,$scan,1); }; } -- 2.39.5