[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
Fri Jan 26 13:05:26 CET 2024


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

--- Comment #41 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 161513
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=161513&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

Signed-off-by: Emmi Takkinen <emmi.takkinen at koha-suomi.fi>

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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


More information about the Koha-bugs mailing list