Bug 25223: Make join of aqbasket and aqorders explicit
authorNick Clemens <nick@bywatersolutions.com>
Mon, 20 Apr 2020 18:41:37 +0000 (18:41 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 22 Apr 2020 08:29:13 +0000 (09:29 +0100)
commit03ece9452a5eef8ca76dab413f4f5177f69797d1
tree2e8541743e051a1cb8a153210e0aa14048948124
parentc42674cfd98a2774881f48db5454bdb3392c57c8
Bug 25223: Make join of aqbasket and aqorders explicit

This is simply a SQL change that makes things a bit easier to read
and also prevents too much data being returned in a large system

To test:
1 - Have some orders in your system in the ordered status
2 - Click the 'Ordered' amount for your budget from Acquisitions home
3 - Note the view of orders, possibly screen shot
4 - Apply patch
5 - Restart all the things
6 - Reload the ordered page
7 - Confirm nothing has changed

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
acqui/ordered.pl