From fcb8469d188c7deb10ac2c1444d56f520c297e8c Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Mon, 10 May 2010 16:23:17 +1200 Subject: [PATCH] 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 --- catalogue/detail.pl | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 "> - + -- 2.39.5