Lines 54-59
the date the hold was places
Link Here
|
54 |
|
54 |
|
55 |
foreign key from the biblio table defining which bib record this hold is on |
55 |
foreign key from the biblio table defining which bib record this hold is on |
56 |
|
56 |
|
|
|
57 |
=head2 item_group_id |
58 |
|
59 |
data_type: 'integer' |
60 |
is_foreign_key: 1 |
61 |
is_nullable: 1 |
62 |
|
63 |
foreign key from the item_groups table defining if this is an item group level hold |
64 |
|
57 |
=head2 branchcode |
65 |
=head2 branchcode |
58 |
|
66 |
|
59 |
data_type: 'varchar' |
67 |
data_type: 'varchar' |
Lines 226-231
__PACKAGE__->add_columns(
Link Here
|
226 |
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, |
234 |
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, |
227 |
"biblionumber", |
235 |
"biblionumber", |
228 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
236 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
|
|
237 |
"item_group_id", |
238 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
229 |
"branchcode", |
239 |
"branchcode", |
230 |
{ data_type => "varchar", is_nullable => 1, size => 10 }, |
240 |
{ data_type => "varchar", is_nullable => 1, size => 10 }, |
231 |
"desk_id", |
241 |
"desk_id", |
Lines 336-341
__PACKAGE__->belongs_to(
Link Here
|
336 |
}, |
346 |
}, |
337 |
); |
347 |
); |
338 |
|
348 |
|
|
|
349 |
=head2 item_group |
350 |
|
351 |
Type: belongs_to |
352 |
|
353 |
Related object: L<Koha::Schema::Result::ItemGroup> |
354 |
|
355 |
=cut |
356 |
|
357 |
__PACKAGE__->belongs_to( |
358 |
"item_group", |
359 |
"Koha::Schema::Result::ItemGroup", |
360 |
{ item_group_id => "item_group_id" }, |
361 |
{ |
362 |
is_deferrable => 1, |
363 |
join_type => "LEFT", |
364 |
on_delete => "SET NULL", |
365 |
on_update => "SET NULL", |
366 |
}, |
367 |
); |
368 |
|
339 |
=head2 itemnumber |
369 |
=head2 itemnumber |
340 |
|
370 |
|
341 |
Type: belongs_to |
371 |
Type: belongs_to |
Lines 377-384
__PACKAGE__->belongs_to(
Link Here
|
377 |
); |
407 |
); |
378 |
|
408 |
|
379 |
|
409 |
|
380 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-01-28 20:08:09 |
410 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-07-28 18:11:37 |
381 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:A3iHpf4nDeIpPsapNzdv8w |
411 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SzRPtAXBNm8VnBqkljxfQw |
382 |
|
412 |
|
383 |
__PACKAGE__->belongs_to( |
413 |
__PACKAGE__->belongs_to( |
384 |
"item", |
414 |
"item", |