koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/C4 Biblio.pm


From: paul poulain
Subject: [Koha-cvs] koha/C4 Biblio.pm
Date: Tue, 03 Jul 2007 09:40:58 +0000

CVSROOT:        /sources/koha
Module name:    koha
Changes by:     paul poulain <tipaul>   07/07/03 09:40:58

Modified files:
        C4             : Biblio.pm 

Log message:
        return itemtype description properly

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Biblio.pm?cvsroot=koha&r1=1.215&r2=1.216

Patches:
Index: Biblio.pm
===================================================================
RCS file: /sources/koha/koha/C4/Biblio.pm,v
retrieving revision 1.215
retrieving revision 1.216
diff -u -b -r1.215 -r1.216
--- Biblio.pm   3 Jul 2007 09:33:05 -0000       1.215
+++ Biblio.pm   3 Jul 2007 09:40:58 -0000       1.216
@@ -33,7 +33,7 @@
 use vars qw($VERSION @ISA @EXPORT);
 
 # set the version for version checking
-$VERSION = do { my @v = '$Revision: 1.215 $' =~ /\d+/g; shift(@v).".".join( 
"_", map { sprintf "%03d", $_ } @v ); };
+$VERSION = do { my @v = '$Revision: 1.216 $' =~ /\d+/g; shift(@v).".".join( 
"_", map { sprintf "%03d", $_ } @v ); };
 
 @ISA = qw( Exporter );
 
@@ -1601,7 +1601,7 @@
 
     #---- itemtypes
     if ( $tagslib->{$tag}->{$subfield}->{'authorised_value'} eq "itemtypes" ) {
-        return getitemtypeinfo($value);
+        return getitemtypeinfo($value)->{description};
     }
 
     #---- "true" authorized value
@@ -3955,8 +3955,11 @@
 
 =cut
 
-# $Id: Biblio.pm,v 1.215 2007/07/03 09:33:05 tipaul Exp $
+# $Id: Biblio.pm,v 1.216 2007/07/03 09:40:58 tipaul Exp $
 # $Log: Biblio.pm,v $
+# Revision 1.216  2007/07/03 09:40:58  tipaul
+# return itemtype description properly
+#
 # Revision 1.215  2007/07/03 09:33:05  tipaul
 # if you just replace su by a space in subjects, you'll replace jesus by je s, 
which is strange for users. this fix solves the problem and introduces 
authoritysep systempref as separator of subfields, for a better identification 
of where the authority starts and end
 #




reply via email to

[Prev in Thread] Current Thread [Next in Thread]