[koha-commits] main Koha release repository branch 3.10.x updated. v3.10.06-22-g0c222ea

Git repo owner gitmaster at git.koha-community.org
Tue Jun 11 00:59:22 CEST 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, 3.10.x has been updated
       via  0c222eaa9c7e86f400e827b7c008a73815fb177d (commit)
      from  8fc0b34e88c0fe030283f2913658105bca0d2b30 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0c222eaa9c7e86f400e827b7c008a73815fb177d
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Mon May 20 10:12:44 2013 -0700

    bug 10292: improve fallback logic for picking XSLT
    
    This patch fixes a bug whereby XSLT files from the
    prog theme would be used (for English OPACs and staff
    interfaces) even if the user had created and enabled a
    custom theme that provided override XSLT files.
    
    This patch provides a clearer implementation of the fallback
    logic and adds test cases.
    
    To reproduce the bug:
    
    [1] Set OPACXSLTDetailsDisplay to 'default' and English as the OPAC
        language.
    [2] Create a new OPAC theme, including copying the XSLT files.
    [3] Set opactheme to the new theme.
    [4] Make a change to koha-tmpl/opac-tmpl/NEWTHEME/en/xslt/MARC21slim2OPACDetail.xsl
    [5] View a bib record in the OPAC. The change made in the previous step
        is not reflected.
    
    To test after applying the patch:
    
    [6] Reload the bib record in the OPAC. The change made in step 4 should
        now be reflected.
    [7] (To be thorough) Go through the test plan for bug 8947
        and verify that there is no regression.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>
    Signed-off-by: Mirko Tietgen <mirko at abunchofthings.net>
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>
    (cherry picked from commit b0eeb00d48892c2ea7f42d787dae10364537ed6f)
    Signed-off-by: Tomas Cohen Arazi <tomascohen at gmail.com>
    (cherry picked from commit d68bb6b8c03c1d538b29448b5baf0dfb13cca736)
    
    Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
    (cherry picked from commit d68bb6b8c03c1d538b29448b5baf0dfb13cca736)

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

Summary of changes:
 C4/XSLT.pm |   25 +++++++++++++++++++++----
 t/XSLT.t   |   37 ++++++++++++++++++++++++++++++++++++-
 2 files changed, 57 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list