Bugzilla – Attachment 175990 Details for
Bug 36627
Display importer for manually harvested SUSHI data
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36627: (QA follow-up): Rename borrowernumber -> patron_id
Bug-36627-QA-follow-up-Rename-borrowernumber---pat.patch (text/plain), 1.63 KB, created by
Pedro Amorim
on 2024-12-30 11:30:35 UTC
(
hide
)
Description:
Bug 36627: (QA follow-up): Rename borrowernumber -> patron_id
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2024-12-30 11:30:35 UTC
Size:
1.63 KB
patch
obsolete
>From b14333285aa7862684a7bcca564cf92388d03e77 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Mon, 30 Dec 2024 11:21:44 +0000 >Subject: [PATCH] Bug 36627: (QA follow-up): Rename borrowernumber -> patron_id > >To test: >$ prove t/db_dependent/api/v1/erm_counter_logs.t >--- > Koha/ERM/EUsage/CounterLog.pm | 12 ++++++++++++ > api/v1/swagger/definitions/erm_counter_log.yaml | 6 +++--- > 2 files changed, 15 insertions(+), 3 deletions(-) > >diff --git a/Koha/ERM/EUsage/CounterLog.pm b/Koha/ERM/EUsage/CounterLog.pm >index 4743a028bdc..1dd7c5aa016 100644 >--- a/Koha/ERM/EUsage/CounterLog.pm >+++ b/Koha/ERM/EUsage/CounterLog.pm >@@ -31,6 +31,18 @@ Koha::ERM::EUsage::CounterLog - Koha ErmCounterLog Object class > > =cut > >+=head3 to_api_mapping >+ >+This method returns the mapping for representing a Koha::ERM::EUsage::CounterLog >+on the API. >+ >+=cut >+ >+sub to_api_mapping { >+ return { >+ borrowernumber => 'patron_id', >+ }; >+} > > =head3 patron > >diff --git a/api/v1/swagger/definitions/erm_counter_log.yaml b/api/v1/swagger/definitions/erm_counter_log.yaml >index 572f78b6e1b..22af4f6c6cb 100644 >--- a/api/v1/swagger/definitions/erm_counter_log.yaml >+++ b/api/v1/swagger/definitions/erm_counter_log.yaml >@@ -10,8 +10,8 @@ properties: > type: > - integer > - "null" >- borrowernumber: >- description: borrowernumber of the counter log >+ patron_id: >+ description: patron_id of the counter log > type: > - integer > - "null" >@@ -43,5 +43,5 @@ properties: > additionalProperties: false > required: > - filename >- - borrowernumber >+ - patron_id > - counter_files_id >\ No newline at end of file >-- >2.39.5
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 36627
:
165029
|
165030
|
165031
|
165054
|
165055
|
165056
|
165057
|
165064
|
165065
|
165066
|
165067
|
165068
|
165070
|
165071
|
165072
|
165073
|
165074
|
165127
|
165128
|
165129
|
165130
|
165131
|
169217
|
169218
|
169219
|
169220
|
169221
|
174066
|
174067
|
174068
|
174069
|
174070
|
174402
|
174706
|
174707
|
174708
|
174709
|
174710
|
174711
|
174712
| 175990