Koha-clms/C4
Paul Poulain 01829af25e 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@cpbibliography.com>
Works as claimed and doesn't break existing functionality.
(cherry picked from commit b70e4f3d6d)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2012-02-02 20:34:41 -05:00
..
AuthoritiesMarc
…
Barcodes
…
Cache
…
ClassSortRoutine Bug 4265: Fix padding of short callnumbers and Bib-1 attribute for sorting 2011-03-29 21:54:12 +13:00
Creators Bug 7215 - changed callnumber PRESET field to itemcallnumber 2011-12-13 09:35:30 -05:00
External
…
Form Fix for Bug 6458 - incorrect parsing result in translation processing 2011-09-15 08:38:58 +12:00
Heading
…
ILSDI Bug #6142 - Delete sub CanBookBeReserved and delete function's reference on @EXPORT 2012-01-16 15:53:30 -05:00
Installer Bug 7078: Remove HTML::Template::Pro from Koha perl dependencies list 2011-10-22 09:01:26 +13:00
Labels Bug 7356 - Fix various typos and mis-spellings 2012-01-18 10:10:53 -05:00
Members bug_6253: Unified member Search() 2011-10-19 16:23:02 +13:00
Output
…
Patroncards
…
Reports Bug 6755 : Fixing a bug with guided reports 2011-09-27 07:04:02 +13:00
SIP Bug 6466 - hung socket read causes SIP tests to fail 2012-01-18 10:11:02 -05:00
Search
…
VirtualShelves Fix for Bug 7083 - [SIGNED-OFF] Show creator name on list of public lists 2012-02-02 20:34:41 -05:00
tests
…
Accounts.pm Bug 7160: paying fines throws error 2011-12-14 12:42:31 -05:00
Acquisition.pm Bug 7254 Show pending orders from baskets with closedate > 180 days 2011-12-02 15:47:21 -05:00
Auth.pm Bug 6627 [Signed Off] - Update to improve security in specified log files - bug 6627 2012-01-16 15:59:42 -05:00
Auth_cas_servers.yaml.orig Bug 5630 CAS improvements 2011-10-13 10:49:49 +13:00
Auth_with_cas.pm Bug 5630 CAS improvements 2011-10-13 10:49:49 +13:00
Auth_with_ldap.pm Bug 6022: Auth_with_ldap check if categorycode is valid 2011-12-06 14:10:33 -05:00
AuthoritiesMarc.pm Use MARCAuthorityControlField008 in AddAuthority for empty 008s 2012-01-16 15:47:28 -05:00
BackgroundJob.pm
…
Barcodes.pm
…
Biblio.pm BZ4376 Minor change in GetMarcAuthor 2012-02-02 20:34:41 -05:00
Bookseller.pm Bug 3388: Restore account number on vendor page 2011-12-02 15:47:23 -05:00
Boolean.pm
…
Branch.pm Bug 7034: de-nesting C4/Branch.pm 2011-10-19 03:23:31 +13:00
Breeding.pm
…
Budgets.pm bug_4831: Use unitprice (actual cost) when totalling spent amounts for "All available funds", as in "Already received" 2011-09-22 19:35:40 +12:00
Cache.pm
…
Calendar.pm
…
Category.pm Bug 6989 Patron categories not properly displayed if not pure ASCII 2011-11-16 07:40:59 -05:00
Charset.pm bug 5579 : Fixes several exports to embed items 2011-04-19 22:35:15 +12:00
Circulation.pm bug_2830: Remove reserve when checking out if the borrower is not the first one in the reserve queue 2012-01-16 15:43:07 -05:00
ClassSortRoutine.pm Bug 7035 de-nesting C4::ClassSource & ClassSortRoutine 2011-10-19 03:25:59 +13:00
ClassSource.pm Bug 7035 de-nesting C4::ClassSource & ClassSortRoutine 2011-10-19 03:25:59 +13:00
Context.pm Bug 6132: Update sysprefs cache in set_preference 2012-01-18 10:10:56 -05:00
Contract.pm
…
Creators.pm
…
Csv.pm
…
Dates.pm Bug 929 : Follow up adding unit tests, discovered C4::Dates cached the syspref with no way to clear it, fixed also. 2012-01-18 10:10:55 -05:00
Debug.pm
…
Heading.pm Bug 5415 Let calls of SimpleSearch utilize considtent interface 2011-04-08 13:52:57 +12:00
ImportBatch.pm Bug 5859: Allow user to set encoding for import 2011-04-19 13:05:48 +12:00
ImportExportFramework.pm Bug 7360 Import Default framework into other deletes default Framework 2012-01-18 10:10:53 -05:00
Input.pm
…
Installer.pm Bug 6699 follow-up 2011-12-03 07:12:05 -05:00
ItemCirculationAlertPreference.pm
…
ItemType.pm Bug 6371 Item Types description not properly displayed if not pure ASCII 2011-10-08 20:10:29 +13:00
Items.pm Bug 6885 Follow up patch, invert tested condition 2012-01-18 10:11:04 -05:00
Koha.pm Bug 7321: Silence some warns in Koha.pm 2012-01-16 15:43:02 -05:00
Labels.pm
…
Languages.pm Bug 6755 Web browser default lang != syspref selected langs 2011-09-26 23:26:09 +13:00
Letters.pm 6302 follow up 2012-01-16 15:43:09 -05:00
Log.pm Bug 6460: alternative fix, updating template and script instead of C4::Log 2011-09-24 10:01:09 +12:00
Maintainance.pm
…
Matcher.pm Bug 5415 Let calls of SimpleSearch utilize considtent interface 2011-04-08 13:52:57 +12:00
Members.pm Bug 7139 : Log addition and deletion of circulation messages 2011-12-13 15:00:12 -05:00
Message.pm
…
NewsChannels.pm
…
Output.pm Bug 6098 Followup -- doesn't replace NSB/NSE by space 2012-01-18 10:10:44 -05:00
Overdues.pm Bug 6987 Make return from Overdues::GetFine consistent 2011-12-08 11:13:08 -05:00
Patroncards.pm
…
Print.pm Bug 6627 [Signed Off] - Update to improve security in specified log files - bug 6627 2012-01-16 15:59:42 -05:00
Record.pm Bug 7356 - Fix various typos and mis-spellings 2012-01-18 10:10:53 -05:00
Reports.pm
…
Reserves.pm bug_2830: Remove reserve when checking out if the borrower is not the first one in the reserve queue 2012-01-16 15:43:07 -05:00
Review.pm Bug 1623 - Provide view of approved comments 2012-01-16 15:47:29 -05:00
Ris.pm bug 5780 followup: RIS export now includes all URLs 2011-10-14 10:37:31 +13:00
RotatingCollections.pm
…
SMS.pm
…
SQLHelper.pm Bug 7276 : Follow up, adding a sub to clear the cache 2012-01-18 10:11:05 -05:00
Scheduler.pm
…
Scrubber.pm
…
Search.pm bug_2830: Remove reserve when checking out if the borrower is not the first one in the reserve queue 2012-01-16 15:43:07 -05:00
Serials.pm Bug 7105: Bad request in GetSubscriptions 2011-12-03 07:12:27 -05:00
Service.pm
…
ShelfBrowser.pm
…
Stats.pm
…
Suggestions.pm Bug 6893 : Updates suggestions list when adding orders 2011-12-06 18:42:24 -05:00
TTParser.pm Revert "Bug 5327: Patch removes unneeded self=shift from TTParser::unshift_token" 2012-01-16 15:43:00 -05:00
Tags.pm Bug 7259 - Show a count of items pending approval on staff client home and tools pages 2011-12-08 11:13:29 -05:00
Templates.pm Bug 929 : Followup fixing date formatting 2012-01-16 15:59:41 -05:00
TmplToken.pm Bug 6458 Template Toolkit files test case 2011-08-18 21:11:50 +12:00
TmplTokenType.pm Bug 6458 Template Toolkit files test case 2011-08-18 21:11:50 +12:00
UploadedFile.pm
…
Utils.pm
…
VirtualShelves.pm Bug 6555 : only 10 lists show in the staff client 2011-09-07 09:00:38 +12:00
XISBN.pm
…
XSLT.pm Bug 7394 : Fixing scoping issue with XSLT processing. Also bailing out early for 404 inestead of doing unnessecary processing 2012-01-16 15:59:39 -05:00
Z3950.pm
…