]> git.koha-community.org Git - koha.git/commit
Bug 11263: do not use system locales settings for subscriptions
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 19 Nov 2013 13:21:38 +0000 (14:21 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 5 May 2014 05:00:42 +0000 (05:00 +0000)
commit98309138a694f70383b36c03148ca291a835d5b9
tree6f748eac4b7eba23b61c3e9c6e409e44fb3cd0ec
parente4f2326063047ce818ea12d6506a74cd01170476
Bug 11263: do not use system locales settings for subscriptions

The locales list for subscriptions should not be retrieved from the
locales of the system.
This patch retrieves the locales list from the Koha DB (in the same way
as pref language and opaclanguages).

Test plan:
Edit a subscription (or a numbering pattern) and verify the list of
languages is the same as languages available in Koha.
Note: with this patch we loose the saeson translation, it is
normal. See report linked.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Work as described. No koha-qa errors.

New locale is retrieved from installed languages.
I wonder if that list can be restricted to
'enabled' ones (parsing syspref language value).

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes QA script and all tests.
Works according to description.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-numberpatterns.tt
serials/subscription-add.pl
serials/subscription-numberpatterns.pl