LP#1724029 Patron search API returns correct order user/mmorgan/lp1724029-patron-search-api-ordering-signoff
authorBill Erickson <berickxx@gmail.com>
Fri, 10 Aug 2018 16:16:57 +0000 (12:16 -0400)
committerMichele Morgan <mmorgan@noblenet.org>
Wed, 22 Aug 2018 14:44:23 +0000 (10:44 -0400)
commit1170a7388141af927dc55789202edaebe27fcd8d
tree5a0a3a829d81c57d481b8d6e0e0a8342bf186847
parent630a00e69a63cd2fc694a318ee447ced413fb927
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>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm