hold queue position starts at 1
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 23 Jun 2009 19:45:32 +0000 (19:45 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 23 Jun 2009 19:45:32 +0000 (19:45 +0000)
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

index b9904dc..ffbe744 100644 (file)
@@ -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;