Add limit to penalty variant of collections call user/jeff/collections_limit_and_order
authorJeff Godin <jgodin@tadl.org>
Fri, 31 May 2013 16:09:23 +0000 (12:09 -0400)
committerJeff Godin <jgodin@tadl.org>
Fri, 31 May 2013 16:09:23 +0000 (12:09 -0400)
commit66510a421ac571d40942d8517f9cd7bf8845e956
treef830e7cc5d8896379953bd040102a7ebf029e7c2
parent0f6ec1ea2c6d7aba2bf790de87bf8f187921b994
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