[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/C4 Biblio.pm [rel_2_2]
From: |
Thomas D |
Subject: |
[Koha-cvs] koha/C4 Biblio.pm [rel_2_2] |
Date: |
Mon, 20 Feb 2006 09:18:57 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_2_2
Changes by: Thomas D <address@hidden> 06/02/20 09:18:57
Modified files:
C4 : Biblio.pm
Log message:
Reverse array filled with elements from repeated subfields from first
to last
to avoid last to first concatenation of elements in Koha DB.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/C4/Biblio.pm.diff?only_with_tag=rel_2_2&tr1=1.115.2.29&tr2=1.115.2.30&r1=text&r2=text
Patches:
Index: koha/C4/Biblio.pm
diff -u koha/C4/Biblio.pm:1.115.2.29 koha/C4/Biblio.pm:1.115.2.30
--- koha/C4/Biblio.pm:1.115.2.29 Tue Feb 7 15:33:35 2006
+++ koha/C4/Biblio.pm Mon Feb 20 09:18:57 2006
@@ -1153,7 +1153,10 @@
my $field =$record->field($tagfield);
if ($field->tag()<10) {
if ($result->{$kohafield}) {
- $result->{$kohafield} .= " | ".$field->data() ;
+ # Reverse array filled with elements from
repeated subfields
+ # from first to last to avoid last to first
concatenation of
+ # elements in Koha DB. -- thd
+ $result->{$kohafield} .= " | " .
reverse($field->data());
} else {
$result->{$kohafield} = $field->data() ;
}
@@ -2916,8 +2919,12 @@
=cut
-# $Id: Biblio.pm,v 1.115.2.29 2006/02/07 15:33:35 hdl Exp $
+# $Id: Biblio.pm,v 1.115.2.30 2006/02/20 09:18:57 thd Exp $
# $Log: Biblio.pm,v $
+# Revision 1.115.2.30 2006/02/20 09:18:57 thd
+# Reverse array filled with elements from repeated subfields from first to last
+# to avoid last to first concatenation of elements in Koha DB.
+#
# Revision 1.115.2.29 2006/02/07 15:33:35 hdl
# Adding a new system preference : serialsadditem
#
- [Koha-cvs] koha/C4 Biblio.pm [rel_2_2],
Thomas D <=
- [Koha-cvs] koha/C4 Biblio.pm [rel_2_2], Joshua Ferraro, 2006/02/23
- [Koha-cvs] koha/C4 Biblio.pm [rel_2_2], Joshua Ferraro, 2006/02/24
- [Koha-cvs] koha/C4 Biblio.pm [rel_2_2], Joshua Ferraro, 2006/02/24
- [Koha-cvs] koha/C4 Biblio.pm [rel_2_2], Chris Cormack, 2006/02/27
- [Koha-cvs] koha/C4 Biblio.pm [rel_2_2], Joshua Ferraro, 2006/02/28
- [Koha-cvs] koha/C4 Biblio.pm [rel_2_2], Chris Cormack, 2006/02/28
- [Koha-cvs] koha/C4 Biblio.pm [rel_2_2], Chris Cormack, 2006/02/28
- [Koha-cvs] koha/C4 Biblio.pm [rel_2_2], Chris Cormack, 2006/02/28
- [Koha-cvs] koha/C4 Biblio.pm [rel_2_2], Chris Cormack, 2006/02/28