[Bug 4376] New: A minor change in the “GetMarcAuthors” function of C4 /Biblio.pm would allow differentiate the type of authors in the templates
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4376 Summary: A minor change in the “GetMarcAuthors” function of C4/Biblio.pm would allow differentiate the type of authors in the templates Product: Koha Version: rel_3_0 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P5 Component: Templates AssignedTo: oleonard@myacpl.org ReportedBy: toni.rosa@gmail.com Estimated Hours: 0.25 Change sponsored?: --- A change in this line (1472) would suffice... Current Line: push @subfields_loop, {value => $value, link_loop => \@this_link_loop, separator => $separator} unless ($authors_subfield->[0] eq '9' ); New proposed line: push @subfields_loop, {tag=> $field->tag(),code => $subfieldcode, value => $value, link_loop => \@this_link_loop, separator => $separator} unless ($authors_subfield->[0] eq '9' ); This change would allow doing things like this in the templates: <TMPL_IF EXPR="tag == 700" && code eq 'a' > <strong>Author:</strong> <!-- TMPL_ELSE --> <TMPL_IF EXPR="tag == 710" && code eq 'a' > <strong>Corpotation Author:</strong> <!-- /TMPL_IF --> <!-- /TMPL_IF --> -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4376 tipaul <paul.poulain@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paul.poulain@biblibre.com --- Comment #1 from tipaul <paul.poulain@biblibre.com> 2010-04-07 16:54:30 --- pls note that for UNIMARC ppl, such a behaviour is correct too. 70x is "physical author" and 71x is "corporation author" ( note that I don't know what is a "corpotation author" :D ) -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla-daemon@kohaorg.ec2.liblime.com