[Koha-bugs] [Bug 31498] Allow for custom primary contact method values

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 24 23:55:52 CET 2023


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

Biblibre Sandboxes <sandboxes at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #147405|0                           |1
        is obsolete|                            |

--- Comment #6 from Biblibre Sandboxes <sandboxes at biblibre.com> ---
Created attachment 147410
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147410&action=edit
Bug 31498: Make primary_contact_method values configurable

This patch makes the primary_contact_method field configurable by tying the
values to the new CONTACT_METHODS authorized value.

To test:
1. Apply patch, updatedatabase, and restart_all
2. Now to go edit or create a new patron and check the 'Main contact method'
dropdown. The values should be the same as they were previuosly. ( Primary
phone, Secondary phone, Other phone, Primary email, Secondary email, and Fax )
3. Try editing some patrons and changing these values, making sure they save
correctly.
4. Go to the patron detail tab and make sure the correct values are displaying
under 'Main contact method'.
5. Go to the OPAC and trying saving and changing the values on both the self
registratin form and the modification form.
6. Now go to Administration > Authorized values > CONTACT_METHODS. Add some new
CONTACT_METHODS.
7. With some ew values added try going through steps 3, 4, and 5 again. Make
sure everything is displaying and saving correctly.
8. Make sure you can still hide and make required the primary_contact_method
via these system prefs:

BorrowerUnwantedField, PatronSelfModificationBorrowerUnwantedField,
PatronSelfRegistrationBorrowerUnwantedField
BorrowerMandatoryField, PatronSelfRegistrationBorrowerMandatoryField

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