[Koha-bugs] [Bug 26597] Transfer information from guarantor when adding a guarantor to an existing patron

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 31 00:10:52 CEST 2023


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

--- Comment #23 from Hammat wele <hammat.wele at inlibro.com> ---
Created attachment 151850
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=151850&action=edit
Bug 26597: (Fix) remove REST API call and retrieve the patron's data from
borrower_data input

This patch remove the REST API call in select_user function and retrieve the
patron's data from borrower_data

To test:
1) Apply patch
2) Search PrefillGuaranteeField preference and make sure some fields are
selected
3) Select a user that can have a guarantor
4) In the edit form, click on "Search to add" in "Patron guarantor" fieldset
5) Choose a patron who has at least one of the fields in 1) set
6) Click Select
7) Confirm guarantee's information is filled from the guarantor's record
8) Check that any preexisting information is not overwritten

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


More information about the Koha-bugs mailing list