LP#1724029 Patron search API returns correct order user/berick/lp1724029-patron-search-api-ordering
authorBill Erickson <berickxx@gmail.com>
Fri, 10 Aug 2018 16:16:57 +0000 (12:16 -0400)
committerBill Erickson <berickxx@gmail.com>
Fri, 10 Aug 2018 16:16:58 +0000 (12:16 -0400)
commitd72857a56e05ed6e1be5503822e1fdf6038d3e65
tree904dfc3ded68f773d576c7ad0d7221811639b328
parent6d98ced94170e96ae69a7c4baa3e80377b8de04f
LP#1724029 Patron search API returns correct order

Avoid use of max_chunk_size in patron search API as it results in
streaming responses in the wrong order.  Use max_bundle_count instead,
which does not suffer from the sorting issues.  What's more, its purpose
and affect is easier to grasp in the code.

Bundle count is set to 5 so the API will begin returning results at most
5 patrons into the data fleshing process.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm