[Koha-bugs] [Bug 25042] New: Koha::Schema::Result::Reserve redefines item and biblio rs
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Apr 2 14:57:11 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25042
Bug ID: 25042
Summary: Koha::Schema::Result::Reserve redefines item and
biblio rs
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: koha-bugs at lists.koha-community.org
Reporter: jonathan.druart at bugs.koha-community.org
QA Contact: testopia at bugs.koha-community.org
Depends on: 11703
From:
commit 82275fa2db63b7d2358897aad72b845a73cb8bda
Bug 11703 - Convert checkouts table to ajax datatable
It adds 2 belongs_to, item and biblio. But they already exist (as the FKs
exist)
+__PACKAGE__->belongs_to(
+ "item",
+ "Koha::Schema::Result::Item",
+ { itemnumber => "itemnumber" },
+ {
+ is_deferrable => 1,
+ join_type => "LEFT",
+ on_delete => "CASCADE",
+ on_update => "CASCADE",
+ },
+);
+__PACKAGE__->belongs_to(
+ "biblio",
+ "Koha::Schema::Result::Biblio",
+ { biblionumber => "biblionumber" },
+ {
+ is_deferrable => 1,
+ join_type => "LEFT",
+ on_delete => "CASCADE",
+ on_update => "CASCADE",
+ },
+);
This code needs to be removed.
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11703
[Bug 11703] Convert checkouts table to ajax datatable
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list