]> git.evergreen-ils.org Git - evergreen/tadl.git/commit
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>
Mon, 3 Jun 2013 20:07:57 +0000 (16:07 -0400)
commitbff1b4860d9e937a912e2e995ba58881b50927f4
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