[koha-commits] main Koha release repository branch new/bug_9274 created. v3.12.00-beta1-86-gf355da2

Git repo owner gitmaster at git.koha-community.org
Sun Mar 31 01:55:06 CET 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, new/bug_9274 has been created
        at  f355da2e86810fef47442b7effeffa3686bd79bb (commit)

- Log -----------------------------------------------------------------
commit f355da2e86810fef47442b7effeffa3686bd79bb
Author: Fridolyn SOMERS <fridolyn.somers at biblibre.com>
Date:   Wed Dec 12 15:47:55 2012 +0100

    Bug 9274: Software error in bibtex export
    
    Exporting to Bibtex from OPAC returns a software error.
    This is because call to C4::Biblio::GetMarcAuthors does
    not return only authors but also authority link.
    This patch replaces this call by a direct read of
    MARC::Record, like for other Bibtex datas.
    C4::Biblio::GetMarcAuthors is really destinated to a
    direct use in a template.
    Also, actually all author subfields are joined with
    'and'. According to Bibtext format, authors should be
    "firstname surname and ..." or "surname, firstname and
    ...". I have choosen second one because in non-UNIMARC
    it corresponds to $a content.
    
    For example UNIMARC :
    700 $aDoe $bJohn
    700 $aDoe $bJanne
    Gives : Doe, John and Doe, Janne
    For example MARC21 :
    700 $aDoe, John
    700 $aDoe, Janne
    Gives : Doe, John and Doe, Janne
    
    Test plan :
    Without patch :
    Exporting to Bibtex from OPAC returns a software error.
    With patch :
    Exporting to Bibtex from OPAC succeeds.
    Authors are composed using : $a, $b and ... for UNIMARC, $a ... for other marc flavours.
    
    Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
    
    Comment: Works as decribed. All record export that produces
    error pre-patch, now export without error.
    No koha-qa errors
    
    Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
    Fixes error and output of additional authors.
    Main entry in 100 is still missing.
    All tests and  QA script pass.
    Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>

-----------------------------------------------------------------------


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list