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

(-)a/Koha/Schema/Result/ArticleRequest.pm (-1 / +7 lines)
Lines 260-265 __PACKAGE__->belongs_to( Link Here
260
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-02 09:44:27
260
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-02 09:44:27
261
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Dhz1mVI7Z/6ibqaBZkPvUA
261
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Dhz1mVI7Z/6ibqaBZkPvUA
262
262
263
sub koha_object_class {
264
    'Koha::ArticleRequest';
265
}
266
267
sub koha_objects_class {
268
    'Koha::ArticleRequests';
269
}
263
270
264
# You can replace this text with custom code or comments, and it will be preserved on regeneration
265
1;
271
1;
(-)a/Koha/Schema/Result/Biblio.pm (+14 lines)
Lines 409-414 __PACKAGE__->has_many( Link Here
409
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-01 07:08:47
409
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-01 07:08:47
410
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:otCex8qzJmZyc+JXpKNdpQ
410
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:otCex8qzJmZyc+JXpKNdpQ
411
411
412
__PACKAGE__->has_many(
413
  "biblioitem",
414
  "Koha::Schema::Result::Biblioitem",
415
  { "foreign.biblionumber" => "self.biblionumber" },
416
  { cascade_copy => 0, cascade_delete => 0 },
417
);
412
418
413
__PACKAGE__->has_one(
419
__PACKAGE__->has_one(
414
  "metadata",
420
  "metadata",
Lines 424-429 __PACKAGE__->has_many( Link Here
424
  { cascade_copy => 0, cascade_delete => 0 },
430
  { cascade_copy => 0, cascade_delete => 0 },
425
);
431
);
426
432
433
sub koha_object_class {
434
    'Koha::Biblio';
435
}
436
437
sub koha_objects_class {
438
    'Koha::Biblios';
439
}
440
427
__PACKAGE__->add_columns(
441
__PACKAGE__->add_columns(
428
    "+serial" => { is_boolean => 1 }
442
    "+serial" => { is_boolean => 1 }
429
);
443
);
(-)a/Koha/Schema/Result/Biblioitem.pm (+8 lines)
Lines 331-334 __PACKAGE__->has_many( Link Here
331
331
332
__PACKAGE__->belongs_to( biblio => "Koha::Schema::Result::Biblio", "biblionumber" );
332
__PACKAGE__->belongs_to( biblio => "Koha::Schema::Result::Biblio", "biblionumber" );
333
333
334
sub koha_object_class {
335
    'Koha::Biblioitem';
336
}
337
338
sub koha_objects_class {
339
    'Koha::Biblioitems';
340
}
341
334
1;
342
1;
(-)a/Koha/Schema/Result/Item.pm (+8 lines)
Lines 772-775 sub effective_itemtype { Link Here
772
    }
772
    }
773
}
773
}
774
774
775
sub koha_object_class {
776
    'Koha::Item';
777
}
778
779
sub koha_objects_class {
780
    'Koha::Items';
781
}
782
775
1;
783
1;
(-)a/Koha/Schema/Result/Subscription.pm (-2 / +20 lines)
Lines 471-475 __PACKAGE__->has_many( Link Here
471
  { cascade_copy => 0, cascade_delete => 0 },
471
  { cascade_copy => 0, cascade_delete => 0 },
472
);
472
);
473
473
474
# You can replace this text with custom content, and it will be preserved on regeneration
474
=head2 koha_object_class
475
476
Returns related Koha::Object class name
477
478
=cut
479
480
sub koha_object_class {
481
    'Koha::Subscription';
482
}
483
484
=head2 koha_objects_class
485
486
Returns related Koha::Objects class name
487
488
=cut
489
490
sub koha_objects_class {
491
    'Koha::Subscriptions';
492
}
493
475
1;
494
1;
476
- 

Return to bug 20212