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

(-)a/Koha/Schema/Result/Itemtype.pm (-3 / +11 lines)
Lines 167-172 Hide the item type from the search options in OPAC Link Here
167
167
168
Group this item type with others with the same value on OPAC search options
168
Group this item type with others with the same value on OPAC search options
169
169
170
=head2 automatic_checkin
171
172
  data_type: 'tinyint'
173
  default_value: 0
174
  is_nullable: 0
175
170
=cut
176
=cut
171
177
172
__PACKAGE__->add_columns(
178
__PACKAGE__->add_columns(
Lines 211-216 __PACKAGE__->add_columns( Link Here
211
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
217
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
212
  "searchcategory",
218
  "searchcategory",
213
  { data_type => "varchar", is_nullable => 1, size => 80 },
219
  { data_type => "varchar", is_nullable => 1, size => 80 },
220
  "automatic_checkin",
221
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
214
);
222
);
215
223
216
=head1 PRIMARY KEY
224
=head1 PRIMARY KEY
Lines 323-334 __PACKAGE__->has_many( Link Here
323
);
331
);
324
332
325
333
326
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
334
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-12-04 15:29:28
327
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:iByLvz6PwhMByZC9bJb8ig
335
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nvjU4T+cepfbUA2tvXKKSA
328
336
329
__PACKAGE__->add_columns(
337
__PACKAGE__->add_columns(
330
    '+rentalcharge_hourly_calendar' => { is_boolean => 1 },
338
    '+rentalcharge_hourly_calendar' => { is_boolean => 1 },
331
    '+rentalcharge_daily_calendar'  => { is_boolean => 1 },
339
    '+rentalcharge_daily_calendar'  => { is_boolean => 1 },
340
    '+automatic_checkin' => { is_boolean => 1 },
332
);
341
);
333
342
334
# Use the ItemtypeLocalization view to create the join on localization
343
# Use the ItemtypeLocalization view to create the join on localization
335
- 

Return to bug 23207