Bug 8019 - Preserve language choice between Browser sessions
authorMarc Veron <veron@veron.ch>
Fri, 27 Apr 2012 22:48:28 +0000 (00:48 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Mon, 14 May 2012 16:37:56 +0000 (18:37 +0200)
commitfbc309bdde3138fb218f40597d2a98e8773b2226
tree92bb39b2c5892dbda6c78935e7b1ad2046d5338d
parent10cb983ac0c5c9842770c4e294229db2df569844
Bug 8019 - Preserve language choice between Browser sessions

Language choice in Opac an Staff client was not preserved between Browser sessions.
Changed expiry date of cookie 'KohaOpacLanguage' from '' (= expire after session) to '+3y' (3 years from now)

To test:
- In a multilingual Koha istallation, choose a language.
- Log out, close all Browser instances. Go to login screen. Login should show up in same language as before.
- Repeat with other languages.

modified:   C4/Templates.pm

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
C4/Templates.pm