Bugzilla – Attachment 126163 Details for
Bug 21932
reservetype and reserveexpiration needed for holds (reserves and old_reserves tables)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21932: Fix REST API mapping
Bug-21932-Fix-REST-API-mapping.patch (text/plain), 987 bytes, created by
Jonathan Druart
on 2021-10-13 09:41:56 UTC
(
hide
)
Description:
Bug 21932: Fix REST API mapping
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-10-13 09:41:56 UTC
Size:
987 bytes
patch
obsolete
>From fc32e7876cc5236bb0eda1a9e663b28e9c8110ae Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 13 Oct 2021 11:40:31 +0200 >Subject: [PATCH] Bug 21932: Fix REST API mapping > >It seems correct to not let third-party apps bypass the expiration date >settings and so let them set patron_expiration_date but the calculated expirationdate. >--- > Koha/Hold.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/Hold.pm b/Koha/Hold.pm >index df18fa8bd71..f8de1519a6c 100644 >--- a/Koha/Hold.pm >+++ b/Koha/Hold.pm >@@ -669,7 +669,7 @@ sub to_api_mapping { > found => 'status', > itemnumber => 'item_id', > waitingdate => 'waiting_date', >- expirationdate => 'expiration_date', >+ patron_expiration_date => 'expiration_date', > lowestPriority => 'lowest_priority', > suspend => 'suspended', > suspend_until => 'suspended_until', >-- >2.25.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 21932
: 126163