[Koha-bugs] [Bug 4376] A minor change in the “GetMarcAuthors” function of C4 /Biblio.pm would allow differentiate the type of authors in the templates
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jan 9 20:35:39 CET 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4376
--- Comment #6 from Jared Camins-Esakov <jcamins at cpbibliography.com> 2012-01-09 19:35:39 UTC ---
Created attachment 7097
--> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=7097
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:
<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 -->
(html template syntax, but also applicable to template toolkit)
Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
Works as claimed and doesn't break existing functionality.
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list