Bug 30534: Remove guarantor_id attribute from the patron object

This patch removes an attribute that was actually removed 3 years ago
and causes an exception when trying to search for it. The API responses
don't include it anyways.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Tomas Cohen Arazi 2022-04-13 17:07:55 -03:00 committed by Kyle Hall
parent 23e4eef606
commit 306dc662f9
2 changed files with 0 additions and 6 deletions

View File

@ -1814,7 +1814,6 @@ sub to_api_mapping {
emailpro => 'secondary_email',
flags => undef, # permissions manipulation handled in /permissions
gonenoaddress => 'incorrect_address',
guarantorid => 'guarantor_id',
lastseen => 'last_seen',
lost => 'patron_card_lost',
opacnote => 'opac_notes',

View File

@ -204,11 +204,6 @@
description: Filter search by restricted
required: false
type: boolean
- name: guarantor_id
in: query
description: Search on guarantor_id
required: false
type: string
- name: staff_notes
in: query
description: Case insensitive search on staff_notes