]> git.koha-community.org Git - koha.git/commit
Bug 27082: uncertainprice.pl does not handle pagination
authorBlou <blou@inlibro.com>
Tue, 24 Nov 2020 22:03:32 +0000 (17:03 -0500)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Wed, 16 Dec 2020 17:25:47 +0000 (18:25 +0100)
commit76f2a93069f0ea9b110be4d35de08a27ef533534
tree7cf5efa8f58622afb4b6ba60994842a20b0e0d74
parent58fc12b45edde3872e216f144f7959bf64aea805
Bug 27082: uncertainprice.pl does not handle pagination

To reproduce:
1- create a basket
2- add more of 20 orders with uncertain price
3- click on uncertain price button
4- on page 1 of list, uncheck uncertain box of an order
5- click on save button
6- orders who were on page 2 are not display anymore in page uncertainprice.pl
7- return to basket view acqui/basket.pl
8- orders who were on page 2 have "rvcd" label and quantity is null

The data in page 2 and beyond is not transmitted, but the code doesn't
handle that.  This patch makes sure that all that (empty) data is not (wrongly) processed.

Sponsored by: CCSR

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 5bc36cd672ad7d4abf839bed2d48da43f09415e9)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
(cherry picked from commit 794229750f62439677c0b835bccaef2e59086613)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
acqui/uncertainprice.pl