From e7ee95f75417bdaebb4a591bed797f1486f6e196 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Fri, 14 Mar 2008 16:39:44 -0500 Subject: [PATCH] waiting holds report: respect item-level_itypes setting Signed-off-by: Joshua Ferraro --- circ/waitingreserves.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/circ/waitingreserves.pl b/circ/waitingreserves.pl index 7d805b8dac..9c7705f29c 100755 --- a/circ/waitingreserves.pl +++ b/circ/waitingreserves.pl @@ -122,6 +122,8 @@ else { foreach my $num (@getreserves) { my %getreserv; my $gettitle = GetBiblioFromItemNumber( $num->{'itemnumber'} ); + # fix up item type for display + $gettitle->{'itemtype'} = C4::Context->preference('item-level_itypes') ? $gettitle->{'itype'} : $gettitle->{'itemtype'}; my $getborrower = GetMemberDetails( $num->{'borrowernumber'} ); my $itemtypeinfo = getitemtypeinfo( $gettitle->{'itemtype'} ); $getreserv{'waitingdate'} = format_date( $num->{'waitingdate'} ); -- 2.39.5