projects
/
koha_gimpoz
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding itemtypes and branches in MARCdetail BugFixing moremember.tmpl : column descri...
[koha_gimpoz]
/
catalogue
/
MARCdetail.pl
diff --git
a/catalogue/MARCdetail.pl
b/catalogue/MARCdetail.pl
index
c406234
..
68db43b
100755
(executable)
--- 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
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
#---- 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'};
#---- "true" authorized value
my $category = $tagslib->{$tag}->{$subfield}->{'authorised_value'};