Bug 25301: removed useless URI parameter "categorycode" from template
authorPetro Vashchuk <stalkernoid@gmail.com>
Wed, 6 May 2020 13:09:01 +0000 (16:09 +0300)
committerJoy Nelson <joy@bywatersolutions.com>
Wed, 13 May 2020 16:07:10 +0000 (16:07 +0000)
commit27476256dfa391693b4d7473b40b95fe73cf8291
tree11797376c3f5f7d23276446cc90f930d49cac95e
parent854c71df7914b1539e9c3af8b65096d607ea5595
Bug 25301: removed useless URI parameter "categorycode" from template

Both "Edit details" links were sending empty query parameter
"categorycode" as there is no such template parameter in "moremember.pl"
defined at all, because template code block looks copy-pasted
from "circulation.tt".

This patch removes the parameter from "moremember.tt" template.

To test:
    1) You need to create or find expired or expiring patron.
    2) Head to patron details page of that patron.
    3) Inspect both "Edit details" links:
       one in the notification about expiration
       and other one in the "Expiration date:" field.
    4) Observe empty parameter "categorycode=" in those links.
    5) Apply patch.
    6) Repeat step 3.
    7) Check that there's no "categorycode=" in the links 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>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt