[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
Fri Jun 26 22:37:43 CEST 2020


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

--- Comment #12 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 106351
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=106351&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.

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


More information about the Koha-bugs mailing list