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

(-)a/Koha/Schema/Result/OldReserve.pm (+12 lines)
Lines 467-472 __PACKAGE__->belongs_to( Link Here
467
  },
467
  },
468
);
468
);
469
469
470
__PACKAGE__->belongs_to(
471
  "pickup_library",
472
  "Koha::Schema::Result::Branch",
473
  { branchcode => "branchcode" },
474
  {
475
    is_deferrable => 1,
476
    join_type     => "LEFT",
477
    on_delete     => "SET NULL",
478
    on_update     => "CASCADE",
479
  },
480
);
481
470
__PACKAGE__->add_columns(
482
__PACKAGE__->add_columns(
471
    '+item_level_hold' => { is_boolean => 1 },
483
    '+item_level_hold' => { is_boolean => 1 },
472
    '+lowestPriority'  => { is_boolean => 1 },
484
    '+lowestPriority'  => { is_boolean => 1 },
(-)a/Koha/Schema/Result/Reserve.pm (-1 / +7 lines)
Lines 523-526 __PACKAGE__->has_many( Link Here
523
  { cascade_copy => 0, cascade_delete => 0 },
523
  { cascade_copy => 0, cascade_delete => 0 },
524
);
524
);
525
525
526
__PACKAGE__->belongs_to(
527
  "pickup_library",
528
  "Koha::Schema::Result::Branch",
529
  { "foreign.branchcode" => "self.branchcode" },
530
  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
531
);
532
526
1;
533
1;
527
- 

Return to bug 35560