]> git.koha-community.org Git - koha.git/commit
Bug 23091: Make relations more explicit
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 14 Jul 2020 12:59:06 +0000 (13:59 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 6 Nov 2020 14:55:17 +0000 (15:55 +0100)
commitb59799f298aab7b04547bcd7c29a2777e015a106
tree3e9c3e5f553a3faa95e8d4c9404064928139f18d
parente7d4bacfc67af5eaae7c477b2ac71753c76778ce
Bug 23091: Make relations more explicit

This patch simply makes the queries built for the ->debits and ->credits
relations in Koha::Account::Line more explicit.

Test plan
1/ Ensure tests continue to pass
2/ Run tests with DBIC_TRACE=1 DBIC_TRACE_PROFILE=console and note that
the related queries not include 'credit.' and 'debit.' as appropriate.

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