Bug 27350 - Reinstate patron categorycode in URL when editing a patron
Summary: Reinstate patron categorycode in URL when editing a patron
Status: CLOSED WONTFIX
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 25301
Blocks:
  Show dependency treegraph
 
Reported: 2021-01-06 12:43 UTC by Sally
Modified: 2021-12-13 21:10 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sally 2021-01-06 12:43:36 UTC
We use custom sections on our memberentry.pl form.  These are not required for all patron categories, so we use jquery to hide the redundant elements - this means the staff do not waste time filling in unneeded sections.

We do this by seeking the patron categorycode in the URL, and then we show/hide the elements as required.

This still works when adding a new patron, as the categorycode is passed in the URL.
This no longer works when editing an existing patron, as only the borrowernumber is passed in the URL.

It seems that Bug 25031 removed the categorycode from the URL when editing a patron.

Is there any chance of reinstating it, please?
Comment 1 Sally 2021-01-06 12:44:53 UTC
Sorry, Bug 25301
Comment 2 Jonathan Druart 2021-01-06 13:15:42 UTC
Hi Sally, couldn't you pick the category code from the "Category" dropdown list?
Comment 3 Martin Renvoize 2021-01-14 10:37:36 UTC
I'm working through doing this with the select box value with Sally.. so I think we can close this issue here :)