Bugzilla – Attachment 182275 Details for
Bug 39874
Template error prevents authority merging
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39874: Correct template variable name to fix authority merging
Bug-39874-Correct-template-variable-name-to-fix-au.patch (text/plain), 1.81 KB, created by
David Nind
on 2025-05-12 13:39:59 UTC
(
hide
)
Description:
Bug 39874: Correct template variable name to fix authority merging
Filename:
MIME Type:
Creator:
David Nind
Created:
2025-05-12 13:39:59 UTC
Size:
1.81 KB
patch
obsolete
>From ff3e0b1c61624765df80438e3fc7394e1bcb3f7a Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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 >Signed-off-by: David Nind <david@davidnind.com> >--- > .../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 b50e922f06..037fac5183 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 %] > </tr> > [% FOREACH line IN result %] >- <tr data-authid="[% result.authid | html %]"> >+ <tr data-authid="[% line.authid | html %]"> > <td> > [% IF line.html %] > [% line.html | $raw %] >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 39874
:
182261
|
182275
|
182278