[Koha-bugs] [Bug 25301] Category code is blank when renewing or editing expired/expiring patron

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 6 15:18:44 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25301

--- Comment #3 from Peter Vashchuk <stalkernoid at gmail.com> ---
Created attachment 104418
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=104418&action=edit
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.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list