[koha-commits] main Koha release repository branch 3.22.x updated. v3.22.09-127-gf50f544

Git repo owner gitmaster at git.koha-community.org
Tue Aug 23 17:38:28 CEST 2016


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.22.x has been updated
       via  f50f544998a29883930646894402a7c6a6f9c239 (commit)
      from  48b1ffc35839e6b35aaad6f9f4e8b45e9e215ebe (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 f50f544998a29883930646894402a7c6a6f9c239
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Mon Jul 25 16:37:03 2016 +0100

    Bug 16776: Do not forget external language choice in language switcher
    
    If language is set by external link language switcher does not work
    
    To reproduce:
    
    - Have a multilingual koha installation, let's say en, de-CH, fr-FR and it-IT
    - Create external links e.g. from your multilingual library website to each language variant of OPAC:
    
    ...cgi-bin/koha/opac-main.pl?language=en
    ...cgi-bin/koha/opac-main.pl?language=de-CH
    ...cgi-bin/koha/opac-main.pl?language=fr-FR
    ...cgi-bin/koha/opac-main.pl?language=it-IT
    
    Each link opens fine displaying the language as appropriate.
    
    Now try to switch language on the page you just opened via the external link.
    
    It won't work, it will always stay on the language defined by the external link.
    
    To test:
    - Apply patch
    - Repeat steps above
    - Verify that the language switcher works
    - Verify in browser address field that after switching language, the param 'language= 'has vanished from url string
    - Try links with multiple params and with params containing 'language', e.g.
      ...cgi-bin/koha/opac-search.pl?language=fr-FR&q=language&mylanguage=test
    - Verify that only the parameter 'language=' vanishes
    
    Tested counter patch, works as well.
    Signed-off-by: Marc <veron at veron.ch>
    
    Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
    (cherry picked from commit 62d16aa6b750aaade2267596c19292659333f8c8)
    Signed-off-by: Frédéric Demians <f.demians at tamil.fr>
    (cherry picked from commit 55bdbc09e6a60d417cbc2d88bb90241fcac57aa2)
    Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

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

Summary of changes:
 changelanguage.pl           |    4 +++-
 opac/opac-changelanguage.pl |    7 +++++++
 2 files changed, 10 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list