return queue stats from hold details method
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 22 Jun 2009 19:10:18 +0000 (19:10 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 22 Jun 2009 19:10:18 +0000 (19:10 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13434 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm

index e9f0511..b9904dc 100644 (file)
@@ -1795,15 +1795,17 @@ sub uber_hold {
        flesh_hold_notices([$hold], $e);
        flesh_hold_transits([$hold]);
 
+    my $details = retrieve_hold_queue_status_impl($e, $hold);
+
        return {
                hold            => $hold,
                copy            => $copy,
                volume  => $volume,
                mvr             => $mvr,
-               status  => _hold_status($e, $hold),
                patron_first => $user->first_given_name,
                patron_last  => $user->family_name,
                patron_barcode => $card->barcode,
+        %$details
        };
 }