From 4df3899bc9d09e41138162f7d469221df23dd3bf Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 28 Apr 2020 12:00:15 +1000 Subject: [PATCH] Bug 25300: Fix typo in "Edit details" for expiring/expired patron MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This patch removes a typo in the argument to the "op" parameter for the "Edit details" link when editing an expiring/expired patron on the Details page. Test plan: 0. Do not apply patch yet 1. Create patron 2. Set expiry date to 3 days from now 3. Go to Details tab in patron record 4. Click "Edit details" in "Library use" section 5. Note the form is blank and has no patron data in it 6. Apply the patch 7. Reload the Details page in patron record 8. Click "Edit details" in "Library use" section 9. Note the form now contains your patron data and will work for editing the details Signed-off-by: Frédéric Demians Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt index 15ea33c9f0..071c728605 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -462,12 +462,12 @@ [% patron.dateexpiry | $KohaDates %] Expired - Renew or Edit details + Renew or Edit details [% ELSIF ( patron.is_going_to_expire ) %] [% patron.dateexpiry | $KohaDates %] Patron expires soon - Renew or Edit details + Renew or Edit details [% ELSE %] [% patron.dateexpiry | $KohaDates %] [% END %] -- 2.39.2