From c37ab12b24cb4911781322a71926131219bc3b08 Mon Sep 17 00:00:00 2001 From: erickson Date: Tue, 23 Jun 2009 19:45:32 +0000 Subject: [PATCH] hold queue position starts at 1 git-svn-id: svn://svn.open-ils.org/ILS/trunk@13453 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm index b9904dc849..ffbe744585 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm @@ -784,7 +784,7 @@ sub retrieve_hold_queue_status_impl { {idlist => 1} ); - my $qpos = 0; + my $qpos = 1; for my $hid (@$hold_ids) { $qpos++; last if $hid == $hold->id; -- 2.11.0