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

(-)a/Koha/Schema/Result/OldReserve.pm (+12 lines)
Lines 446-451 __PACKAGE__->belongs_to( Link Here
446
  },
446
  },
447
);
447
);
448
448
449
__PACKAGE__->belongs_to(
450
  "pickup_library",
451
  "Koha::Schema::Result::Branch",
452
  { branchcode => "branchcode" },
453
  {
454
    is_deferrable => 1,
455
    join_type     => "LEFT",
456
    on_delete     => "SET NULL",
457
    on_update     => "CASCADE",
458
  },
459
);
460
449
__PACKAGE__->add_columns(
461
__PACKAGE__->add_columns(
450
    '+item_level_hold' => { is_boolean => 1 },
462
    '+item_level_hold' => { is_boolean => 1 },
451
    '+lowestPriority'  => { is_boolean => 1 },
463
    '+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 35353