Bug 21725: Use full statement in HAVING rather than constructed column
authorNick Clemens <nick@bywatersolutions.com>
Tue, 30 Oct 2018 11:59:26 +0000 (11:59 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 1 Nov 2018 19:04:30 +0000 (19:04 +0000)
commitb5c456479da6a1033f9a697ca1bcf4295920aeb1
treed3b5c4c2030d7362244ff14906d7e9d555acaaac
parent2d3ec5e6258232378c7c8dddf3f8bf1ef8471696
Bug 21725: Use full statement in HAVING rather than constructed column

To test:
1 - prove -v t/db_dpendent/Acquisition/GetBasketsInfosByBookseller.t
2 - Apply patch
3 - prove -v t/db_dpendent/Acquisition/GetBasketsInfosByBookseller.t
4 - It passes
5 - Have some open/closed and some fully and not full received baskets
6 - View a vendor and confirm baskets are shwn as expected
7 - Check 'Show all baskets' shows all baskets

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Note sure this is the best thing but it fixes the issue

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Acquisition.pm