From 5b0e0f03c17dec4b7ee3f54798ff0c024e873806 Mon Sep 17 00:00:00 2001 From: Petro Vashchuk Date: Thu, 7 May 2020 12:22:24 +0300 Subject: [PATCH] Bug 25301: removed URI parameter "categorycode" from "circulation.tt" "Edit details" links in patron's circulation check-out page was sending empty query parameter "categorycode" because there is no defined template parameter in "circulation.pl" This patch removes the URI parameter from "circulation.tt" template. To test: 1) You need to create or find expired or expiring patron. 2) Head to patron's circulation check-out page. 3) Inspect "Edit details" link. 4) Observe empty parameter "categorycode=" in that link. 5) Apply patch. 6) Repeat step 3. 7) Check that there's no "categorycode=" in the link anymore. Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index a4d721a062..fc381cd232 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -688,7 +688,7 @@ [% IF ( warndeparture ) %]
  • Expiration: Patron's card will expire soon. - Patron's card expires on [% expiry | $KohaDates %] Renew or Edit details + Patron's card expires on [% expiry | $KohaDates %] Renew or Edit details
  • [% END %] @@ -705,7 +705,7 @@ [% IF ( expiry ) %] Patron's card expired on [% expiry | $KohaDates %] [% END %] - Renew or Edit details + Renew or Edit details [% END %] -- 2.39.5