From 95846dfe048a6380e3b84534e7168572e4fb5427 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 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 --- 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 2ea813bffc..eaf2538e74 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -463,12 +463,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.16.4