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

(-)a/Koha/Schema/Result/Branch.pm (-28 / +2 lines)
Lines 308-328 __PACKAGE__->has_many( Link Here
308
  { cascade_copy => 0, cascade_delete => 0 },
308
  { cascade_copy => 0, cascade_delete => 0 },
309
);
309
);
310
310
311
=head2 branchrelations
312
313
Type: has_many
314
315
Related object: L<Koha::Schema::Result::Branchrelation>
316
317
=cut
318
319
__PACKAGE__->has_many(
320
  "branchrelations",
321
  "Koha::Schema::Result::Branchrelation",
322
  { "foreign.branchcode" => "self.branchcode" },
323
  { cascade_copy => 0, cascade_delete => 0 },
324
);
325
326
=head2 branchtransfers_frombranches
311
=head2 branchtransfers_frombranches
327
312
328
Type: has_many
313
Type: has_many
Lines 623-641 __PACKAGE__->has_many( Link Here
623
  { cascade_copy => 0, cascade_delete => 0 },
608
  { cascade_copy => 0, cascade_delete => 0 },
624
);
609
);
625
610
626
=head2 categorycodes
627
628
Type: many_to_many
629
630
Composing rels: L</branchrelations> -> categorycode
631
632
=cut
633
634
__PACKAGE__->many_to_many("categorycodes", "branchrelations", "categorycode");
635
636
611
637
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-12-05 14:04:50
612
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-12-05 14:08:18
638
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Q87CSY+yexoxL37pfm3kgg
613
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:g+WicMjGntjAgcKrbn4IdQ
639
614
640
615
641
# You can replace this text with custom code or comments, and it will be preserved on regeneration
616
# You can replace this text with custom code or comments, and it will be preserved on regeneration
642
- 

Return to bug 16735