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

(-)a/Koha/Schema/Result/Aqbasket.pm (+13 lines)
Lines 340-348 __PACKAGE__->belongs_to( Link Here
340
  },
340
  },
341
);
341
);
342
342
343
=head2 koha_object_class
344
345
Returns related Koha::Object class name
346
347
=cut
348
343
sub koha_object_class {
349
sub koha_object_class {
344
    'Koha::Acquisition::Basket';
350
    'Koha::Acquisition::Basket';
345
}
351
}
352
353
=head2 koha_objects_class
354
355
Returns related Koha::Object class name
356
357
=cut
358
346
sub koha_objects_class {
359
sub koha_objects_class {
347
    'Koha::Acquisition::Baskets';
360
    'Koha::Acquisition::Baskets';
348
}
361
}
(-)a/Koha/Schema/Result/ArticleRequest.pm (-1 / +19 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
=head2 koha_object_class
264
265
Returns related Koha::Object class name
266
267
=cut
268
269
sub koha_object_class {
270
    'Koha::ArticleRequest';
271
}
272
273
=head2 koha_objects_class
274
275
Returns related Koha::Objects class name
276
277
=cut
278
279
sub koha_objects_class {
280
    'Koha::ArticleRequests';
281
}
263
282
264
# You can replace this text with custom code or comments, and it will be preserved on regeneration
265
1;
283
1;
(-)a/Koha/Schema/Result/Biblio.pm (+26 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
=head2 koha_object_class
434
435
Returns related Koha::Object class name
436
437
=cut
438
439
sub koha_object_class {
440
    'Koha::Biblio';
441
}
442
443
=head2 koha_objects_class
444
445
Returns related Koha::Objects class name
446
447
=cut
448
449
sub koha_objects_class {
450
    'Koha::Biblios';
451
}
452
427
__PACKAGE__->add_columns(
453
__PACKAGE__->add_columns(
428
    "+serial" => { is_boolean => 1 }
454
    "+serial" => { is_boolean => 1 }
429
);
455
);
(-)a/Koha/Schema/Result/Biblioitem.pm (+20 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
=head2 koha_object_class
335
336
Returns related Koha::Object class name
337
338
=cut
339
340
sub koha_object_class {
341
    'Koha::Biblioitem';
342
}
343
344
=head2 koha_objects_class
345
346
Returns related Koha::Objects class name
347
348
=cut
349
350
sub koha_objects_class {
351
    'Koha::Biblioitems';
352
}
353
334
1;
354
1;
(-)a/Koha/Schema/Result/Item.pm (+20 lines)
Lines 772-775 sub effective_itemtype { Link Here
772
    }
772
    }
773
}
773
}
774
774
775
=head2 koha_object_class
776
777
Returns related Koha::Object class name
778
779
=cut
780
781
sub koha_object_class {
782
    'Koha::Item';
783
}
784
785
=head2 koha_objects_class
786
787
Returns related Koha::Objects class name
788
789
=cut
790
791
sub koha_objects_class {
792
    'Koha::Items';
793
}
794
775
1;
795
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