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

CJ Lynce <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |g

--- Comment #3 from CJ Lynce <[email protected]> ---
@Imani: Commenting out the test for preferred_name entirely causes some
unexpected behavior if any preferred_names are set and then you change
BorrowerUnwantedField to exclude preferred_name. In this case you will no
longer be able to edit the preferred_name, and changing the patron's firstname
will no change the preferred name,

A better solution would be to wrap the test for preferred_name in an if clause
based on the $step variable passed from the form. $step = 0 if the full form is
being edited. $step = 1 if the Contact Info portion is being edited. Anything
else is a partial edit of the form elsewhere.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to