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>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Owen Leonard 2025-05-12 11:30:19 +00:00 committed by Katrin Fischer
parent 5518fe490a
commit cd7554157b
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 1 additions and 1 deletions

View File

@ -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 %]