]> git.koha-community.org Git - koha.git/commit
Bug 29139: Add exceptions to relation accessors
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 30 Sep 2021 08:28:29 +0000 (09:28 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 1 Oct 2021 14:28:55 +0000 (16:28 +0200)
commita9c934a0a1c37c6f012f1b6316f8775aecefde74
tree155ddaa6ae85766ece6d6aedc09a29a5a4b014d1
parent88bf99cc08e8302f87a23b3a8549ec56322bab8a
Bug 29139: Add exceptions to relation accessors

We already had exceptions on the many-to-many links, but we didn't have
them for the middle table. The underlying dbic relations make it clear
which id's are being used for linking.  A 'credit' has 'credit_offsets',
a 'debit' has 'debit_offsets'.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Account/Line.pm