Bug 12001: [17.11.X] Remove simple calls to GetMemberAccountRecords
authorNick Clemens <nick@bywatersolutions.com>
Wed, 18 Jul 2018 11:36:36 +0000 (11:36 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 26 Jul 2018 10:39:15 +0000 (12:39 +0200)
commit2532c0a3fad64109f77889c590a74f2c82a9a13a
treeafcba149192e3804d20059a02ab2e81717afcf01
parentfe370acaa42d208d0cb7f00ae396081648d551af
Bug 12001: [17.11.X] Remove simple calls to GetMemberAccountRecords

I chose not to backport the main patchset as it was big and didn't apply
clean, however, this problem seems to be an issue in 17.11.x

This patchset removes the calls where only the total is fetched/used

Please consider for backport

To test:
1 - Have a patron with some fines
2 - View these pages and confirm fine amounts display:
    circ/circulation.pl
    opac/opac-main.pl
    opac/opac-reserve.pl
    opac/opac-user.pl
    reserve/request.pl
3 - Apply patch
4 - View pages again, confirm fines display correctly and no errors
C4/Members.pm
Koha/Account.pm
circ/circulation.pl
opac/opac-main.pl
opac/opac-reserve.pl
opac/opac-user.pl
reserve/request.pl