Bug 24857: DBIC update

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Tomás Cohen Arazi 2022-07-08 16:11:11 -03:00
parent 52b063d05a
commit c7ee20e7fc
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
2 changed files with 34 additions and 4 deletions

View file

@ -315,6 +315,21 @@ __PACKAGE__->has_many(
{ cascade_copy => 0, cascade_delete => 0 },
);
=head2 item_groups
Type: has_many
Related object: L<Koha::Schema::Result::ItemGroup>
=cut
__PACKAGE__->has_many(
"item_groups",
"Koha::Schema::Result::ItemGroup",
{ "foreign.biblio_id" => "self.biblionumber" },
{ cascade_copy => 0, cascade_delete => 0 },
);
=head2 items
Type: has_many
@ -541,8 +556,8 @@ __PACKAGE__->has_many(
);
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2022-03-28 22:07:59
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sh8waM4ivuiNao0VV5403Q
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-07-08 19:06:29
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QmW8BVyUx2F2MAp6ZG45mg
__PACKAGE__->has_many(
"biblioitem",

View file

@ -729,6 +729,21 @@ __PACKAGE__->might_have(
{ cascade_copy => 0, cascade_delete => 0 },
);
=head2 item_group_item
Type: might_have
Related object: L<Koha::Schema::Result::ItemGroupItem>
=cut
__PACKAGE__->might_have(
"item_group_item",
"Koha::Schema::Result::ItemGroupItem",
{ "foreign.item_id" => "self.itemnumber" },
{ cascade_copy => 0, cascade_delete => 0 },
);
=head2 items_last_borrower
Type: might_have
@ -880,8 +895,8 @@ __PACKAGE__->has_many(
);
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2022-03-28 22:07:59
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:28f9/7z3Nq5C4qzBMyceiQ
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-07-08 19:06:29
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:y5EYc49JqMIr3A3aQBTtTQ
__PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" );