Add limit to penalty variant of collections call
authorJeff Godin <jgodin@tadl.org>
Fri, 31 May 2013 15:26:47 +0000 (11:26 -0400)
committerJeff Godin <jgodin@tadl.org>
Tue, 7 Apr 2015 15:51:31 +0000 (11:51 -0400)
commit6b948c81f943f666b3e31b0a9e19764979e72502
tree5ade6ed2a128c71c56e9f5d1ddec6cdfcb05ccdf
parenta9df1af01b92a36f23c1ba1a84ee86b5679ee9a9
Add limit to penalty variant of collections call

Add a limit and sort order param to the API method
open-ils.collections.users_of_interest.warning_penalty.retrieve

When a limit is supplied, users are sorted by set_date (default
DESC, for most recently set). Supplying "ASC" as a param will sort
by oldest.

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