Bug 24150: Add missing koha_object[s]_class methods and skip for deletedborrowers
commitaf50ec6e5fa1f9d415af6b8655c927a20b86b705
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 6 Jan 2020 22:49:37 +0000 (6 23:49 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 7 Jan 2020 13:44:29 +0000 (7 13:44 +0000)
treea143049775afcd7680749a6b14916e5e3bf5353d
parent3bd2c3cf3a56cb61e107de2899c8324f1a5c5ec7
Bug 24150: Add missing koha_object[s]_class methods and skip for deletedborrowers

deletedborrowers does not have a PK, and adding it is out of the scope
of this patchset. Indeed we will have to handle possible duplication of
borrowernumber values, which does not seem trivial.
Having bug 20271 in mind, we will have to deal with this problematic
anyway later.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Schema/Result/Deletedbiblio.pm
Koha/Schema/Result/Deletedbiblioitem.pm
Koha/Schema/Result/Deletedborrower.pm
Koha/Schema/Result/Deleteditem.pm
t/db_dependent/TestBuilder.t
t/lib/TestBuilder.pm