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 <lucas@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Fridolin Somers 2023-02-21 10:03:25 -10:00 committed by Tomas Cohen Arazi
parent 9d7cca8b4d
commit ae1aeaac07
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -676,7 +676,7 @@
[% ELSE # /IF ( SEARCH_RESULT.items_count ) %]
[% IF ( SEARCH_RESULT.ALTERNATEHOLDINGS.count ) %]
[% IF ( SEARCH_RESULT.ALTERNATEHOLDINGS ) %]
<strong id="altholdings_heading">Other holdings:</strong>
<ul>
[% FOREACH ALTERNATEHOLDING IN SEARCH_RESULT.ALTERNATEHOLDINGS %]