Bugzilla – Attachment 163244 Details for
Bug 16122
Item record needs to keep local use count
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16122: API and Schema updates
Bug-16122-API-and-Schema-updates.patch (text/plain), 2.80 KB, created by
Andrew Fuerste-Henry
on 2024-03-15 14:32:39 UTC
(
hide
)
Description:
Bug 16122: API and Schema updates
Filename:
MIME Type:
Creator:
Andrew Fuerste-Henry
Created:
2024-03-15 14:32:39 UTC
Size:
2.80 KB
patch
obsolete
>From a0ee9c466e879add346d5bc34fd028f5800c5650 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Fri, 7 Apr 2023 16:51:01 +0000 >Subject: [PATCH] Bug 16122: API and Schema updates > >Signed-off-by: Christopher Brannon <cbrannon@cdalibrary.org> >Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org> >Signed-off-by: Andrew Fuerste Henry <andrewfh@dubcolib.org> >--- > Koha/Schema/Result/Deleteditem.pm | 9 +++++++++ > Koha/Schema/Result/Item.pm | 9 +++++++++ > api/v1/swagger/definitions/item.yaml | 5 +++++ > 3 files changed, 23 insertions(+) > >diff --git a/Koha/Schema/Result/Deleteditem.pm b/Koha/Schema/Result/Deleteditem.pm >index a30646271c9..be3319cd1e3 100644 >--- a/Koha/Schema/Result/Deleteditem.pm >+++ b/Koha/Schema/Result/Deleteditem.pm >@@ -218,6 +218,13 @@ number of times this item has been checked out > > number of times this item has been renewed > >+=head2 localuse >+ >+ data_type: 'smallint' >+ is_nullable: 1 >+ >+number of times this item has been recorded for localuse >+ > =head2 reserves > > data_type: 'smallint' >@@ -454,6 +461,8 @@ __PACKAGE__->add_columns( > "issues", > { data_type => "smallint", default_value => 0, is_nullable => 1 }, > "renewals", >+ { data_type => "smallint", default_value => 0, is_nullable => 1 }, >+ "localuse", > { data_type => "smallint", is_nullable => 1 }, > "reserves", > { data_type => "smallint", is_nullable => 1 }, >diff --git a/Koha/Schema/Result/Item.pm b/Koha/Schema/Result/Item.pm >index 8320ce4c761..46dc909e92d 100644 >--- a/Koha/Schema/Result/Item.pm >+++ b/Koha/Schema/Result/Item.pm >@@ -221,6 +221,13 @@ number of times this item has been checked out/issued > > number of times this item has been renewed > >+=head2 localuse >+ >+ data_type: 'smallint' >+ is_nullable: 1 >+ >+number of times this item has been recorded for localuse >+ > =head2 reserves > > data_type: 'smallint' >@@ -468,6 +475,8 @@ __PACKAGE__->add_columns( > "issues", > { data_type => "smallint", default_value => 0, is_nullable => 1 }, > "renewals", >+ { data_type => "smallint", default_value => 0, is_nullable => 1 }, >+ "localuse", > { data_type => "smallint", is_nullable => 1 }, > "reserves", > { data_type => "smallint", is_nullable => 1 }, >diff --git a/api/v1/swagger/definitions/item.yaml b/api/v1/swagger/definitions/item.yaml >index 1d0ed7ac95f..b719043dc5a 100644 >--- a/api/v1/swagger/definitions/item.yaml >+++ b/api/v1/swagger/definitions/item.yaml >@@ -113,6 +113,11 @@ properties: > - integer > - "null" > description: Number of times this item has been renewed >+ localuse: >+ type: >+ - integer >+ - "null" >+ description: Number of times this item has been recorded for localuse > holds_count: > type: > - integer >-- >2.30.2
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 16122
:
149281
|
149282
|
149283
|
149284
|
150231
|
150232
|
150233
|
150234
|
150235
|
150236
|
150623
|
150693
|
153193
|
153196
|
153197
|
153198
|
153199
|
153200
|
158466
|
158467
|
158468
|
158469
|
158470
|
158471
|
161001
|
161002
|
161003
|
161004
|
161005
|
161006
|
161144
|
161145
|
161146
|
161147
|
161148
|
161149
|
161150
|
161151
|
161153
|
161154
|
161155
|
161156
|
161157
|
161158
|
161159
|
161160
|
163072
|
163073
|
163074
|
163075
|
163076
|
163077
|
163243
|
163244
|
163245
|
163246
|
163247
|
163248
|
163296
|
163297
|
163298
|
163299
|
163300
|
163301
|
163302
|
163303
|
165313
|
165314
|
165315
|
165316
|
165317
|
165318
|
165319
|
165320