]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1724029 Patron search API returns correct order
authorBill Erickson <berickxx@gmail.com>
Fri, 10 Aug 2018 16:16:57 +0000 (12:16 -0400)
committerBill Erickson <berickxx@gmail.com>
Wed, 22 Aug 2018 15:09:02 +0000 (11:09 -0400)
commitdcd4c6a88e0518010c9afc3619fe9fa44dab3b48
tree70f5b90920bf2fb7b5654a4db9ebc9df49e36be6
parent4017ddc04148d49cc952dc17b10c2dd4f1669611
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