[Koha-bugs] [Bug 12446] Enable an adult to have a guarantor

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 1 22:03:30 CEST 2019


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

--- Comment #96 from Maryse Simard <maryse.simard at inlibro.com> ---
Created attachment 93393
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=93393&action=edit
Bug 12446: (follow-up) Remove mandatory transfered values

With the new system preference AdditionalGuarantorField, one can add
data to be transfered to the guarantee, but cannot remove default ones.

This patch renames the syspref to GuarantorFields and set hardcoded
default values as the preference's default.

To test:
1. After database update, check that the default value for the syspref
GuarantorFields contains these columns:
    streetnumber|address|address2|city|state|zipcode|country|
    branchcode|phonepro|mobile|email|emailpro|fax
2. Set the value as empty
3. Try adding a guarantor to a patron (from the guarantor's page or the
guarantee's): no values should be imported.
4. Check that it still works with different values for the preference.

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


More information about the Koha-bugs mailing list