From 33945d9ebac065bcaa448b25f9af9a7abd7ab865 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Tue, 21 Feb 2023 10:03:25 -1000 Subject: [PATCH] Bug 33032: Fix alternate holdings in staff interface search results If system preference AlternateHoldingsField is used, one can see a display in OPAC search results. This display does not appear in staff interface search results anymore. Test plan : 1) Enable feature with system preference 'AlternateHoldingsField', ie 852abc 2) Edit a record to add some datas in field 852 3) Perform a search in staff interface => You see the alternate holdings datas Signed-off-by: Lucas Gass Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi (cherry picked from commit ae1aeaac0715da95b65b9374ac8eba704e5d2409) Signed-off-by: Matt Blenkinsop --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt index 24c41b5201..ba3c7bc778 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt @@ -676,7 +676,7 @@ [% ELSE # /IF ( SEARCH_RESULT.items_count ) %] - [% IF ( SEARCH_RESULT.ALTERNATEHOLDINGS.count ) %] + [% IF ( SEARCH_RESULT.ALTERNATEHOLDINGS ) %] Other holdings:
    [% FOREACH ALTERNATEHOLDING IN SEARCH_RESULT.ALTERNATEHOLDINGS %] -- 2.39.5