]> 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)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 8 Oct 2021 13:51:58 +0000 (09:51 -0400)
commite124d1283c6348cc5f427114e345c1169d4208bb
tree49915a016934b91f1709e393ab6cd35d580b0874
parent229ea7a312e84b3c330082b66e1aa3687adf0028
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: Kyle M Hall <kyle@bywatersolutions.com>
Koha/Account/Line.pm