[Koha-bugs] [Bug 25654] Make the contact and non-patron guarantor sections separate on patron entry form
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jul 1 19:24:57 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25654
ByWater Sandboxes <bws.sandboxes at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #106456|0 |1
is obsolete| |
--- Comment #16 from ByWater Sandboxes <bws.sandboxes at gmail.com> ---
Created attachment 106457
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=106457&action=edit
Bug 25654: Make the contact and non-patron guarantor sections separate on
patron entry form
This patch reverses what I think was an unintended change made by Bug
14570 in which the non-patron guarantor fields are shown for all patron
types (not just child patrons) and grouped with the patron contact fields.
This patch creates a new "Non-patron guarantor" fieldset to show along
with "Patron guarantor" when adding or editing child patrons.
To test, apply the patch check that the BorrowerUnwantedField system
preference does not contain contactname, contactfirstname,
or relationship.
- Open an adult patron for editing. You should see no guarantor-related
fields.
- Open a child patron for editing. There should be two guarantor
sections: "Patron guarantor" and "Non-patron guarantor."
- Test that adding patron guarantors and non-patron guarantors works
correctly.
- Add "contactname|contactfirstname|relationship" to the
BorrowerUnwantedField system preference.
- Reload the child patron entry form. The non-patron guarantor
section should now be hidden.
Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
Signed-off-by: Christopher Brannon <cbrannon at cdalibrary.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list