Add explicit sort to collections API with limit collections_limit_and_order
authorJeff Godin <jgodin@tadl.org>
Mon, 3 Jun 2013 20:03:11 +0000 (16:03 -0400)
committerJeff Godin <jgodin@tadl.org>
Mon, 3 Jun 2013 20:03:11 +0000 (16:03 -0400)
commit1d726d96f4562d23e1de8ece65dd793a1e090461
tree9bc5fbad34fedf7528e579f155150b2bda70d887
parent692d20dca9d811a120fb8fe67c3e4cb76aba5aab
Add explicit sort to collections API with limit

Add an explicit ORDER BY au.id ASC when limiting collections API
calls. This ensures that the same users will be returned on
subsequent calls, assuming no other relevant changes in the data.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Collections.pm