From 53429047922c94e8c39c7f5700b932321c99fe3b Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Tue, 13 Nov 2007 00:45:17 -0600 Subject: [PATCH] We were calling get biblioitemdata when we should have been calling get bibliodata Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- circ/circulation.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/circ/circulation.pl b/circ/circulation.pl index cba533d801..6dfd771440 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -316,7 +316,7 @@ if ($borrowernumber) { $getreserv{author} = $getiteminfo->{'author'}; $getreserv{barcodereserv} = $getiteminfo->{'barcode'}; $getreserv{itemcallnumber} = $getiteminfo->{'itemcallnumber'}; - $getreserv{biblionumber} = $getiteminfo->{'biblionumber'}; + $getreserv{biblionumber} = $getiteminfo->{'biblionumber'}; # check if we have a waiting status for reservations if ( $num_res->{'found'} eq 'W' ) { @@ -351,7 +351,7 @@ if ($borrowernumber) { # if we don't have a reserv on item, we put the biblio infos and the waiting position if ( $getiteminfo->{'title'} eq '' ) { - my $getbibinfo = GetBiblioItemData( $num_res->{'biblionumber'} ); + my $getbibinfo = GetBiblioData( $num_res->{'biblionumber'} ); my $getbibtype = getitemtypeinfo( $getbibinfo->{'itemtype'} ); # fixme - we should have item-level reserves here ? $getreserv{color} = 'inwait'; $getreserv{title} = $getbibinfo->{'title'}; @@ -360,7 +360,7 @@ if ($borrowernumber) { $getreserv{itemtype} = $getbibtype->{'description'}; $getreserv{author} = $getbibinfo->{'author'}; $getreserv{itemcallnumber} = '----------'; - $getreserv{biblionumber} = $num_res->{'biblionumber'}; + $getreserv{biblionumber} = $num_res->{'biblionumber'}; } push( @reservloop, \%getreserv ); -- 2.39.5