From 6cef9e0e4b05c9583e2f4ffe1dd201c10c62e564 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 12 May 2025 11:30:19 +0000 Subject: [PATCH] Bug 39874: Correct template variable name to fix authority merging This patch correct a template variable name so that the authority record ID is correctly included in the search results table markup. To test, apply the patch and go to Authorities. - Perform a search which will return more than one result. - On one of the results, click Actions -> Merge. - An message should appear at the top, "Merging with authority..." and the authority record ID should be shown in parentheses. - Pick another record in the results list to merge, click Actions -> Merge. - You should be redirected to the "Merging records" page, with the correct two records shown under "Merge reference." Sponsored-by: Athens County Public Libraries --- .../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 b50e922f061..037fac51835 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt @@ -74,7 +74,7 @@ [% END %] [% FOREACH line IN result %] - + [% IF line.html %] [% line.html | $raw %] -- 2.39.5