From 170e25bf422bdfb019e22fc4d339ce80253109ca Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Tue, 1 Dec 2020 14:28:24 +0100 Subject: [PATCH] Bug 27125: Show authority type also for UNIMARC in authority search result display Bug 12533 added authority type in authority search result display. But it does not work for UNIMARC, due to : https://git.koha-community.org/Koha-community/Koha/src/commit/be9f64b638335cac7465ca302e187c7914534fbe/C4/AuthoritiesMarc.pm#L798 I propose to use result->{authtype} Test plan : 1) Use UNIMARC catalogue 2) Search for autorities 3) Check you see autority type in column 4) Same for a MARC21 catalogue --- .../prog/en/modules/authorities/searchresultlist.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt index 65536c9cb1..c684bfe5a6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt @@ -42,7 +42,7 @@ [% FOREACH resul IN result %] [% PROCESS authresult summary=resul.summary authid=resul.authid %] - [% resul.summary.label | html %] + [% resul.authtype | html %] [% UNLESS ( resul.isEDITORS ) %] [% IF resul.used > 0 %] -- 2.29.2