my $copy_locations = shift || [];
- my $offset = $page * $limit;
+ my $offset = abs($page) * $limit;
my $_storage = OpenSRF::AppSession->create( 'open-ils.cstore' );
my $o_search = { shortname => $ou };
my $statuses = shift || [];
my $copy_locations = shift || [];
- my $offset = $limit * $page;
+ my $offset = $limit * abs($page);
my $_storage = OpenSRF::AppSession->create( 'open-ils.cstore' );
my @ou_ids;
my $limit = shift || 10;
my $page = shift || 0;
- my $offset = $limit * $page;
+ my $offset = $limit * abs($page);
my $_storage = OpenSRF::AppSession->create( 'open-ils.cstore' );
my @list = ();