Lines 286-291
__PACKAGE__->table("items");
Link Here
|
286 |
is_nullable: 1 |
286 |
is_nullable: 1 |
287 |
size: 32 |
287 |
size: 32 |
288 |
|
288 |
|
|
|
289 |
=head2 exclude_from_local_holds_priority |
290 |
|
291 |
data_type: 'tinyint' |
292 |
is_nullable: 1 |
293 |
|
289 |
=cut |
294 |
=cut |
290 |
|
295 |
|
291 |
__PACKAGE__->add_columns( |
296 |
__PACKAGE__->add_columns( |
Lines 406-411
__PACKAGE__->add_columns(
Link Here
|
406 |
{ data_type => "varchar", is_nullable => 1, size => 32 }, |
411 |
{ data_type => "varchar", is_nullable => 1, size => 32 }, |
407 |
"new_status", |
412 |
"new_status", |
408 |
{ data_type => "varchar", is_nullable => 1, size => 32 }, |
413 |
{ data_type => "varchar", is_nullable => 1, size => 32 }, |
|
|
414 |
"exclude_from_local_holds_priority", |
415 |
{ data_type => "tinyint", is_nullable => 1 }, |
409 |
); |
416 |
); |
410 |
|
417 |
|
411 |
=head1 PRIMARY KEY |
418 |
=head1 PRIMARY KEY |
Lines 747-754
__PACKAGE__->has_many(
Link Here
|
747 |
); |
754 |
); |
748 |
|
755 |
|
749 |
|
756 |
|
750 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-04-27 10:38:13 |
757 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-06-05 20:21:47 |
751 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IpI7wRweeZCbCeU1LhZbRQ |
758 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9AxhV/hJnavWY4OTDTNRcQ |
752 |
|
759 |
|
753 |
__PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" ); |
760 |
__PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" ); |
754 |
|
761 |
|
Lines 759-764
__PACKAGE__->belongs_to(
Link Here
|
759 |
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, |
766 |
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, |
760 |
); |
767 |
); |
761 |
|
768 |
|
|
|
769 |
__PACKAGE__->add_columns( |
770 |
'+exclude_from_local_holds_priority' => { is_boolean => 1 }, |
771 |
); |
772 |
|
762 |
use C4::Context; |
773 |
use C4::Context; |
763 |
sub effective_itemtype { |
774 |
sub effective_itemtype { |
764 |
my ( $self ) = @_; |
775 |
my ( $self ) = @_; |
765 |
- |
|
|