From 0b0def7d8106dbc2de4f0ebcb34f54a9593ac2f9 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 --- 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 7423164850..1b1784b906 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.11.0