[Koha-patches] [PATCH] (bug #3403) fix circulation.pl reservation list
Nahuel ANGELINETTI
nahuel.angelinetti at biblibre.com
Tue Jul 7 17:17:06 CEST 2009
This delete useless code that introduce the leak of reserved items informations.
---
circ/circulation.pl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/circ/circulation.pl b/circ/circulation.pl
index e1aedb4..e85e1da 100755
--- a/circ/circulation.pl
+++ b/circ/circulation.pl
@@ -402,11 +402,11 @@ 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 = GetBiblioData( $num_res->{'biblionumber'} );
- my $getbibtype = getitemtypeinfo( $getbibinfo->{'itemtype'} ); # fixme - we should have item-level reserves here ?
+
$getreserv{color} = 'inwait';
$getreserv{title} = $getbibinfo->{'title'};
$getreserv{nottransfered} = 0;
- $getreserv{itemtype} = $getbibtype->{'description'};
+ $getreserv{itemtype} = $itemtypeinfo->{'description'};
$getreserv{author} = $getbibinfo->{'author'};
$getreserv{biblionumber} = $num_res->{'biblionumber'};
}
--
1.6.0.4
More information about the Koha-patches
mailing list