View | Details | Raw Unified | Return to bug 16122
Collapse All | Expand All

(-)a/Koha/Schema/Result/Deleteditem.pm (+9 lines)
Lines 218-223 number of times this item has been checked out Link Here
218
218
219
number of times this item has been renewed
219
number of times this item has been renewed
220
220
221
=head2 localuse
222
223
  data_type: 'smallint'
224
  is_nullable: 1
225
226
number of times this item has been recorded for localuse
227
221
=head2 reserves
228
=head2 reserves
222
229
223
  data_type: 'smallint'
230
  data_type: 'smallint'
Lines 454-459 __PACKAGE__->add_columns( Link Here
454
  "issues",
461
  "issues",
455
  { data_type => "smallint", default_value => 0, is_nullable => 1 },
462
  { data_type => "smallint", default_value => 0, is_nullable => 1 },
456
  "renewals",
463
  "renewals",
464
  { data_type => "smallint", default_value => 0, is_nullable => 1 },
465
  "localuse",
457
  { data_type => "smallint", is_nullable => 1 },
466
  { data_type => "smallint", is_nullable => 1 },
458
  "reserves",
467
  "reserves",
459
  { data_type => "smallint", is_nullable => 1 },
468
  { data_type => "smallint", is_nullable => 1 },
(-)a/Koha/Schema/Result/Item.pm (+9 lines)
Lines 221-226 number of times this item has been checked out/issued Link Here
221
221
222
number of times this item has been renewed
222
number of times this item has been renewed
223
223
224
=head2 localuse
225
226
  data_type: 'smallint'
227
  is_nullable: 1
228
229
number of times this item has been recorded for localuse
230
224
=head2 reserves
231
=head2 reserves
225
232
226
  data_type: 'smallint'
233
  data_type: 'smallint'
Lines 468-473 __PACKAGE__->add_columns( Link Here
468
  "issues",
475
  "issues",
469
  { data_type => "smallint", default_value => 0, is_nullable => 1 },
476
  { data_type => "smallint", default_value => 0, is_nullable => 1 },
470
  "renewals",
477
  "renewals",
478
  { data_type => "smallint", default_value => 0, is_nullable => 1 },
479
  "localuse",
471
  { data_type => "smallint", is_nullable => 1 },
480
  { data_type => "smallint", is_nullable => 1 },
472
  "reserves",
481
  "reserves",
473
  { data_type => "smallint", is_nullable => 1 },
482
  { data_type => "smallint", is_nullable => 1 },
(-)a/api/v1/swagger/definitions/item.yaml (-1 / +5 lines)
Lines 113-118 properties: Link Here
113
      - integer
113
      - integer
114
      - "null"
114
      - "null"
115
    description: Number of times this item has been renewed
115
    description: Number of times this item has been renewed
116
  localuse:
117
    type:
118
      - integer
119
      - "null"
120
    description: Number of times this item has been recorded for localuse
116
  holds_count:
121
  holds_count:
117
    type:
122
    type:
118
      - integer
123
      - integer
119
- 

Return to bug 16122