From 7d16e4668179476342cfa321c9cf84a651510ea5 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 11 Sep 2020 16:32:29 +0000 Subject: [PATCH] Bug 26530: Use patron card number as checkbox label during patron merge This patch makes a minor change the the merge patrons template so that on the patron selection stage the user can click the card number to select the radio button. To test, apply the patch and perform a patron search in the patrons module. - In patron search results, select two patrons to merge. - Click the "Merge selected patrons" button. - On the page showing the two patrons to merge, click each of the card numbers to confirm that it selects the correct radio button. --- koha-tmpl/intranet-tmpl/prog/en/modules/members/merge-patrons.tt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/merge-patrons.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/merge-patrons.tt index 94abaa34e6..4d9680e479 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/merge-patrons.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/merge-patrons.tt @@ -70,8 +70,12 @@ [% FOREACH p IN patrons %] - - [% p.cardnumber | html %] + + + + [% INCLUDE 'patron-title.inc' patron = p %] [% p.dateofbirth | $KohaDates %] [% Categories.GetName( p.categorycode ) | html %] ([% p.categorycode | html %]) -- 2.11.0