]> git.koha-community.org Git - koha.git/commit
Bug 25301: removed URI parameter "categorycode" from "circulation.tt"
authorPetro Vashchuk <stalkernoid@gmail.com>
Thu, 7 May 2020 09:22:24 +0000 (12:22 +0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 12 May 2020 09:56:05 +0000 (10:56 +0100)
commit5b0e0f03c17dec4b7ee3f54798ff0c024e873806
tree939df6ea2786c498a894cc993b55c6d74987944e
parentc79108e495951efca4824d458b3736deb4c79de9
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 <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt