From b70e4f3d6d3ebca19c83a96de6770e572620c651 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Tue, 2 Aug 2011 16:54:38 +0200 Subject: [PATCH] BZ4376 Minor change in GetMarcAuthor A minor change in the GetMarcAuthors function of C4/Biblio.pm allow differentiate the type of authors in the templates This change allow doing things like this in the templates: Author: Corpotation Author: (html template syntax, but also applicable to template toolkit) Signed-off-by: Jared Camins-Esakov Works as claimed and doesn't break existing functionality. --- C4/Biblio.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/C4/Biblio.pm b/C4/Biblio.pm index 9e84ffd04f..ad559faca6 100644 --- a/C4/Biblio.pm +++ b/C4/Biblio.pm @@ -1612,7 +1612,8 @@ sub GetMarcAuthors { $separator = C4::Context->preference('authoritysep'); } push @subfields_loop, - { code => $subfieldcode, + { tag => $field->tag(), + code => $subfieldcode, value => $value, link_loop => \@this_link_loop, separator => $separator -- 2.39.5