Lines 176-181
Group this item type with others with the same value on OPAC search options
Link Here
|
176 |
|
176 |
|
177 |
If automatic checkin is enabled for items of this type |
177 |
If automatic checkin is enabled for items of this type |
178 |
|
178 |
|
|
|
179 |
=head2 checkprevcheckout |
180 |
|
181 |
data_type: 'enum' |
182 |
default_value: 'inherit' |
183 |
extra: {list => ["yes","no","inherit"]} |
184 |
is_nullable: 0 |
185 |
|
186 |
produce a warning for a patron if a item of this type has previously been checked out to the same patron if 'yes', not if 'no', defer to category setting if 'inherit'. |
187 |
|
179 |
=head2 bookable |
188 |
=head2 bookable |
180 |
|
189 |
|
181 |
data_type: 'tinyint' |
190 |
data_type: 'tinyint' |
Lines 230-235
__PACKAGE__->add_columns(
Link Here
|
230 |
{ data_type => "varchar", is_nullable => 1, size => 80 }, |
239 |
{ data_type => "varchar", is_nullable => 1, size => 80 }, |
231 |
"automatic_checkin", |
240 |
"automatic_checkin", |
232 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
241 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
|
|
242 |
"checkprevcheckout", |
243 |
{ |
244 |
data_type => "enum", |
245 |
default_value => "inherit", |
246 |
extra => { list => ["yes", "no", "inherit"] }, |
247 |
is_nullable => 0, |
248 |
}, |
233 |
"bookable", |
249 |
"bookable", |
234 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
250 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
235 |
); |
251 |
); |
Lines 344-351
__PACKAGE__->has_many(
Link Here
|
344 |
); |
360 |
); |
345 |
|
361 |
|
346 |
|
362 |
|
347 |
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-10-25 13:25:14 |
363 |
# Created by DBIx::Class::Schema::Loader v0.07052 @ 2025-08-15 16:25:27 |
348 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jd0dYE700dpg1IiRnfbcEg |
364 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TZcz0ppbZwT7yhRsqkg1xg |
349 |
|
365 |
|
350 |
__PACKAGE__->add_columns( |
366 |
__PACKAGE__->add_columns( |
351 |
'+automatic_checkin' => { is_boolean => 1 }, |
367 |
'+automatic_checkin' => { is_boolean => 1 }, |
352 |
- |
|
|