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>
Thu, 26 Dec 2013 19:10:21 +0000 (14:10 -0500)
commit1bcfa50b0333023d374cb9e5a7c679949285bae8
tree9e5a3e1e7147b575650c8f2febb19cfc2bffa6a9
parent47acee4ebd6c7ea08164e7ad31eb35740c0c3b31
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