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>
Fri, 31 May 2013 15:26:47 +0000 (11:26 -0400)
commit692d20dca9d811a120fb8fe67c3e4cb76aba5aab
treec8226f6ef0d461152d0dca01ab7b8db9575117f4
parentc1fbf206283e52db46cc845ac4901c09d5ed501e
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/Collections.pm