diff --git a/C4/Search.pm b/C4/Search.pm index 6dba9983ad..dfb59019df 100755 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -1338,9 +1338,10 @@ sub ItemInfo { if ($datedue eq ''){ # $datedue="Available"; my ($restype,$reserves)=C4::Reserves2::CheckReserves($data->{'itemnumber'}); - if ($restype) { - $datedue=$restype; - } + $data->{reservestatus} = $restype; +# if ($restype) { +# $datedue=$restype; +# } } $isth->finish; #get branch information..... diff --git a/koha-tmpl/intranet-tmpl/default/en/catalogue/detail.tmpl b/koha-tmpl/intranet-tmpl/default/en/catalogue/detail.tmpl index 96b26b1ae3..b45859a211 100644 --- a/koha-tmpl/intranet-tmpl/default/en/catalogue/detail.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/catalogue/detail.tmpl @@ -141,7 +141,7 @@