]> git.koha-community.org Git - koha.git/commit
Bug 23681: DBIC Schema
authorEmmi Takkinen <emmi.takkinen@koha-suomi.fi>
Tue, 3 May 2022 10:23:43 +0000 (13:23 +0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 25 Aug 2022 11:41:05 +0000 (08:41 -0300)
commit7cc2560d2f1833d9b00b4cdc9d2d724813000407
tree7c3218bb3cf3f1bfeba3ecedc84c595566bc6495
parent20349d87379dc6f66290050c0b7c2beaf6763c06
Bug 23681: DBIC Schema

To be able to delete and pass tests we need to declare
koha_object[s]_class to DebarmentType.pm. Otherwise
following error is raised:

"Can't locate object method "_new_from_dbic" via package
"Koha::DebarmentType" (perhaps you forgot to load "Koha::DebarmentType"?)
at /kohadevbox/koha/Koha/Object.pm line 237"

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Schema/Result/BorrowerDebarment.pm
Koha/Schema/Result/DebarmentType.pm [new file with mode: 0644]