See also 33791
Actually, it is caused by looking at homebranch/holdingbranch in the where: items.homebranch LIKE ? AND items.holdingbranch LIKE ? And since there is no item, there is no branch..
And as mentioned on bug 23059, you can deselect that filter. But it does not work very intuitive.
Created attachment 151518 [details] [review] Bug 33792: reserves_stats: Undo homebranch and holdingbranch preselect This preselect cuts off all next available holds that are in reserves, as well as holds filled by checkout without confirm (see 33791). Test plan: Go to reporting. Click Hold statistics. Verify that Holding library and Home library are not selected. Test that you can still filter by one of those. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Created attachment 151531 [details] [review] Bug 33792: reserves_stats: Undo homebranch and holdingbranch preselect This preselect cuts off all next available holds that are in reserves, as well as holds filled by checkout without confirm (see 33791). Test plan: Go to reporting. Click Hold statistics. Verify that Holding library and Home library are not selected. Test that you can still filter by one of those. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Created attachment 151557 [details] [review] Bug 33792: reserves_stats: Undo homebranch and holdingbranch preselect This preselect cuts off all next available holds that are in reserves, as well as holds filled by checkout without confirm (see 33791). Test plan: Go to reporting. Click Hold statistics. Verify that Holding library and Home library are not selected. Test that you can still filter by one of those. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Pushed to master for 23.05. Nice work everyone, thanks!
Nice work everyone! Pushed to stable for 22.11.x