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

(-)a/Koha/Schema/Result/Recall.pm (-28 / +1 lines)
Lines 321-355 __PACKAGE__->add_columns( Link Here
321
);
321
);
322
322
323
__PACKAGE__->belongs_to(
323
__PACKAGE__->belongs_to(
324
  "biblio",
325
  "Koha::Schema::Result::Biblio",
326
  { biblionumber => "biblionumber" },
327
  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
328
);
329
330
__PACKAGE__->belongs_to(
331
  "item",
332
  "Koha::Schema::Result::Item",
333
  { itemnumber => "itemnumber" },
334
  {
335
    is_deferrable => 1,
336
    join_type     => "LEFT",
337
    on_delete     => "CASCADE",
338
    on_update     => "CASCADE",
339
  },
340
);
341
342
__PACKAGE__->belongs_to(
343
  "patron",
344
  "Koha::Schema::Result::Borrower",
345
  { borrowernumber => "borrowernumber" },
346
  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
347
);
348
349
__PACKAGE__->belongs_to(
350
  "library",
324
  "library",
351
  "Koha::Schema::Result::Branch",
325
  "Koha::Schema::Result::Branch",
352
  { branchcode => "branchcode" },
326
  { branchcode => "pickup_library_id" },
353
  {
327
  {
354
    is_deferrable => 1,
328
    is_deferrable => 1,
355
    join_type     => "LEFT",
329
    join_type     => "LEFT",
356
- 

Return to bug 30291