Bugzilla – Attachment 133282 Details for
Bug 30534
borrowers.guarantorid not present on database
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30534: Remove guarantor_id attribute from the patron object
Bug-30534-Remove-guarantorid-attribute-from-the-pa.patch (text/plain), 1.67 KB, created by
Tomás Cohen Arazi (tcohen)
on 2022-04-13 20:09:22 UTC
(
hide
)
Description:
Bug 30534: Remove guarantor_id attribute from the patron object
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-04-13 20:09:22 UTC
Size:
1.67 KB
patch
obsolete
>From 705626b79a7050c59097110c17b9ba6d60a22ae2 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Wed, 13 Apr 2022 17:07:55 -0300 >Subject: [PATCH] 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> >--- > Koha/Patron.pm | 1 - > api/v1/swagger/paths/patrons.yaml | 5 ----- > 2 files changed, 6 deletions(-) > >diff --git a/Koha/Patron.pm b/Koha/Patron.pm >index e88e72551c..f97a23a85d 100644 >--- a/Koha/Patron.pm >+++ b/Koha/Patron.pm >@@ -1896,7 +1896,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', >diff --git a/api/v1/swagger/paths/patrons.yaml b/api/v1/swagger/paths/patrons.yaml >index 10538a1c1a..923ce090a1 100644 >--- a/api/v1/swagger/paths/patrons.yaml >+++ b/api/v1/swagger/paths/patrons.yaml >@@ -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 >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30534
:
133282
|
133398
|
133530