]> git.evergreen-ils.org Git - Evergreen.git/commit
Repair SIP start/end list ranges
authorBill Erickson <berick@esilibrary.com>
Fri, 5 Apr 2013 17:28:08 +0000 (13:28 -0400)
committerJeff Godin <jgodin@tadl.org>
Fri, 7 Jun 2013 18:49:27 +0000 (14:49 -0400)
commit418bbfa33aecb0bdbc118d2162ae6b7e3c2b8d8b
tree2b17c564030d1df24c5bb2ec9484102fcea4c224
parent7a42d7f7f57ca885532c24b285f6375fb3338973
Repair SIP start/end list ranges

SIP supports paging of certain lists (holds, fines, etc.) by allowing
the SIP client to provide start and end points for lists.  This patch
repairs how Evgreen extracts the list ranges from arrays.

When using Perl array ranges, the array variable should be accessed via
'@' and not '$'.  Prior to this change, all ranged lists resulted in
returning the first item in the list instead of the full range.

This change affects lists of holds, overdues, fines, and charges.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Jeff Godin <jgodin@tadl.org>
Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm