Add explicit sort to collections API with limit
authorJeff Godin <jgodin@tadl.org>
Mon, 3 Jun 2013 20:03:11 +0000 (16:03 -0400)
committerJeff Godin <jgodin@tadl.org>
Tue, 7 Apr 2015 15:51:53 +0000 (11:51 -0400)
commit1cffbc606643e859f1096a47e6b720e1a8100202
treeea57be33b5583d311d363f5dff798d0d5534bcff
parent6b948c81f943f666b3e31b0a9e19764979e72502
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