this patch add a filter to notes, it transform \n in <br />
---
C4/Biblio.pm | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/C4/Biblio.pm b/C4/Biblio.pm
index a2e6d07..3c32710 100644
--- a/C4/Biblio.pm
+++ b/C4/Biblio.pm
@@ -969,6 +969,8 @@ sub GetMarcNotes {
my $marcnote;
foreach my $field ( $record->field($scope) ) {
my $value = $field->as_string();
+ $value =~ s/\n/<br \/>/g ;
+
if ( $note ne "" ) {
$marcnote = { marcnote => $note, };
push @marcnotes, $marcnote;
--
1.5.6.3
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches