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

[email protected] changed:

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

--- Comment #4 from [email protected] ---
Created attachment 145880
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=145880&action=edit
Bug 32675: Cannot add a guarantor when there is a single quote in the guarantor
attributes

It's impossible to select a guarantor when there is a single quote in the
guarantor attributes.

This patch allows to add a guarantor even if there is a single quote in
guarantor attributes.

Test plan
1. Find two patrons:
  - Patron 1 = guarantee
  - Patron 2 = guarantor
2. In the patron 2 account, add a single quote in one of the 'Alternate
address' or 'Contact information' fields (like the 'Address' field)
for example type «L'Aqueduc» in the field and save
3. Edit the patron 1 and click on 'Add guarantor'
4. Search for the patron 2
5. Click on 'Select'
  --> Nothing happens
6. Apply the patch
9. repeat step 3, 4 and 5
10. Now Patron 2 is added as guarantor

Signed-off-by: Lucas Gass <[email protected]>
Signed-off-by: Solene Ngamga <[email protected]>

-- 
You are receiving this mail because:
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