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

(-)a/Koha/Schema/Result/Category.pm (-2 / +13 lines)
Lines 133-138 __PACKAGE__->table("categories"); Link Here
133
  data_type: 'tinyint'
133
  data_type: 'tinyint'
134
  is_nullable: 1
134
  is_nullable: 1
135
135
136
=head2 exclude_from_local_holds_priority
137
138
  data_type: 'tinyint'
139
  is_nullable: 1
140
136
=cut
141
=cut
137
142
138
__PACKAGE__->add_columns(
143
__PACKAGE__->add_columns(
Lines 189-194 __PACKAGE__->add_columns( Link Here
189
  { data_type => "tinyint", is_nullable => 1 },
194
  { data_type => "tinyint", is_nullable => 1 },
190
  "change_password",
195
  "change_password",
191
  { data_type => "tinyint", is_nullable => 1 },
196
  { data_type => "tinyint", is_nullable => 1 },
197
  "exclude_from_local_holds_priority",
198
  { data_type => "tinyint", is_nullable => 1 },
192
);
199
);
193
200
194
=head1 PRIMARY KEY
201
=head1 PRIMARY KEY
Lines 266-273 __PACKAGE__->has_many( Link Here
266
);
273
);
267
274
268
275
269
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2019-04-12 02:43:58
276
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-06-05 20:21:47
270
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7rwTH9HuxcdRCBP/bj0d/A
277
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HTZTJw4AxxpcV54kt04jTw
278
279
__PACKAGE__->add_columns(
280
    '+exclude_from_local_holds_priority' => { is_boolean => 1 },
281
);
271
282
272
sub koha_object_class {
283
sub koha_object_class {
273
    'Koha::Patron::Category';
284
    'Koha::Patron::Category';
(-)a/Koha/Schema/Result/Deleteditem.pm (-2 / +13 lines)
Lines 282-287 __PACKAGE__->table("deleteditems"); Link Here
282
  is_nullable: 1
282
  is_nullable: 1
283
  size: 32
283
  size: 32
284
284
285
=head2 exclude_from_local_holds_priority
286
287
  data_type: 'tinyint'
288
  is_nullable: 1
289
285
=cut
290
=cut
286
291
287
__PACKAGE__->add_columns(
292
__PACKAGE__->add_columns(
Lines 392-397 __PACKAGE__->add_columns( Link Here
392
  { data_type => "varchar", is_nullable => 1, size => 32 },
397
  { data_type => "varchar", is_nullable => 1, size => 32 },
393
  "new_status",
398
  "new_status",
394
  { data_type => "varchar", is_nullable => 1, size => 32 },
399
  { data_type => "varchar", is_nullable => 1, size => 32 },
400
  "exclude_from_local_holds_priority",
401
  { data_type => "tinyint", is_nullable => 1 },
395
);
402
);
396
403
397
=head1 PRIMARY KEY
404
=head1 PRIMARY KEY
Lines 407-414 __PACKAGE__->add_columns( Link Here
407
__PACKAGE__->set_primary_key("itemnumber");
414
__PACKAGE__->set_primary_key("itemnumber");
408
415
409
416
410
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-04-27 10:38:13
417
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-06-05 20:21:47
411
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MsPWE8Trd034UYFcZVbCtw
418
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4xydPpkFXE+oOR46jY5L8Q
419
420
__PACKAGE__->add_columns(
421
    '+exclude_from_local_holds_priority' => { is_boolean => 1 },
422
);
412
423
413
sub koha_objects_class {
424
sub koha_objects_class {
414
    'Koha::Old::Items';
425
    'Koha::Old::Items';
(-)a/Koha/Schema/Result/Item.pm (-3 / +13 lines)
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
- 

Return to bug 19889