Bugzilla – Attachment 88197 Details for
Bug 20128
Permission for advanced editor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20128: Fix the API
Bug-20128-Fix-the-API.patch (text/plain), 1.29 KB, created by
Tomás Cohen Arazi (tcohen)
on 2019-04-17 14:28:38 UTC
(
hide
)
Description:
Bug 20128: Fix the API
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2019-04-17 14:28:38 UTC
Size:
1.29 KB
patch
obsolete
>From 87c914326ca7fcad105433a81c43d011eeaf2f4a Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Wed, 17 Apr 2019 11:27:37 -0300 >Subject: [PATCH] Bug 20128: Fix the API > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > Koha/Schema/Result/Borrower.pm | 1 + > api/v1/swagger/definitions/patron.json | 4 ++++ > 2 files changed, 5 insertions(+) > >diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm >index 2c3e8540ba..dae40584ec 100644 >--- a/Koha/Schema/Result/Borrower.pm >+++ b/Koha/Schema/Result/Borrower.pm >@@ -1539,6 +1539,7 @@ __PACKAGE__->belongs_to( > ); > > __PACKAGE__->add_columns( >+ '+anonymized' => { is_boolean => 1 }, > '+lost' => { is_boolean => 1 }, > '+gonenoaddress' => { is_boolean => 1 } > ); >diff --git a/api/v1/swagger/definitions/patron.json b/api/v1/swagger/definitions/patron.json >index 5d6ccd82c0..afd9e042f2 100644 >--- a/api/v1/swagger/definitions/patron.json >+++ b/api/v1/swagger/definitions/patron.json >@@ -272,6 +272,10 @@ > "overdrive_auth_token": { > "type": ["string", "null"], > "description": "persist OverDrive auth token" >+ }, >+ "anonymized": { >+ "type": "boolean", >+ "description": "If the patron has been anonymized" > } > }, > "additionalProperties": false, >-- >2.21.0
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 20128
:
83416
|
86198
|
86208
|
86543
|
86706
|
86707
|
86840
|
87738
|
87739
|
87740
|
87741
|
88196
|
88197