From: Chris Cormack Date: Mon, 10 May 2010 04:23:17 +0000 (+1200) Subject: Reserve and onloan were reporting the same cardnumber, due to a little bug in detail... X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=f80257330a3da9ee0c82223b9bc6c84c7516b827;p=koha.git Reserve and onloan were reporting the same cardnumber, due to a little bug in detail.pl fixed by this patch Signed-off-by: Galen Charlton --- diff --git a/catalogue/detail.pl b/catalogue/detail.pl index 0c3a764437..85819c0455 100755 --- a/catalogue/detail.pl +++ b/catalogue/detail.pl @@ -178,7 +178,7 @@ foreach my $item (@items) { $item->{ReservedForSurname} = $ItemBorrowerReserveInfo->{'surname'}; $item->{ReservedForFirstname} = $ItemBorrowerReserveInfo->{'firstname'}; $item->{ExpectedAtLibrary} = $branches->{$expectedAt}{branchname}; - $item->{cardnumber} = $ItemBorrowerReserveInfo->{'cardnumber'}; + $item->{Reservedcardnumber} = $ItemBorrowerReserveInfo->{'cardnumber'}; } # Check the transit status diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl index 3d8a9afcdd..7bd495944d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl @@ -280,7 +280,7 @@ function verify_images() { for "> - +