Repair SIP start/end list ranges user/berick/sip-repair-array-ranges
authorBill Erickson <berick@esilibrary.com>
Fri, 5 Apr 2013 17:28:08 +0000 (13:28 -0400)
committerBill Erickson <berick@esilibrary.com>
Fri, 5 Apr 2013 17:30:49 +0000 (13:30 -0400)
commitefb7d87f9a14d01a3ddf38c09be90a1f75eeebda
tree3f2b9b684c8fa693d9ee114f53d976feb8d3b1ad
parentc14818bb399ddb2a3bcb94a61fe5070ca12ceb22
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>
Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm