From 059c9880c3cc56777b19147ab0d318805dca65d0 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Tue, 2 Oct 2007 22:30:03 +0200 Subject: [PATCH] Adding itemtypes and branches in MARCdetail BugFixing moremember.tmpl : column descriptions were messed. Signed-off-by: Chris Cormack --- catalogue/MARCdetail.pl | 15 ++++++++------- .../prog/en/modules/members/moremember.tmpl | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/catalogue/MARCdetail.pl b/catalogue/MARCdetail.pl index c406234464..68db43b24e 100755 --- a/catalogue/MARCdetail.pl +++ b/catalogue/MARCdetail.pl @@ -60,17 +60,18 @@ sub get_authorised_value_desc ($$$$$$) { my ( $tagslib, $tag, $subfield, $value, $framework, $dbh ) = @_; #---- branch - #if ( $tagslib->{$tag}->{$subfield}->{'authorised_value'} eq "branches" ) { + if ( $tagslib->{$tag}->{$subfield}->{'authorised_value'} eq "branches" ) { - # return GetBranchDetail($value)->{branchname}; - #} +# return GetBranchDetail($value)->{branchname}; + return $value; + } #---- itemtypes - #if ( $tagslib->{$tag}->{$subfield}->{'authorised_value'} eq "itemtypes" ) { + if ( $tagslib->{$tag}->{$subfield}->{'authorised_value'} eq "itemtypes" ) { - # my $itemtypedef = getitemtypeinfo($itemtype); - # return $itemtypedef->{description}; - #} + my $itemtypedef = getitemtypeinfo($itemtype); + return $itemtypedef->{description}; + } #---- "true" authorized value my $category = $tagslib->{$tag}->{$subfield}->{'authorised_value'}; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tmpl index 28588b93aa..dbe7fd7051 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tmpl @@ -189,9 +189,9 @@ function confirm_reregistration() { " /> + - -- 2.39.5
Date due Title BarcodeDate due Itemtype Charge Price