]> git.koha-community.org Git - koha.git/commit
Bug 16311 - Advanced search language limit typo
authorAndreas Roussos <arouss1980@gmail.com>
Fri, 9 Sep 2016 16:46:33 +0000 (19:46 +0300)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 16 Sep 2016 09:20:48 +0000 (11:20 +0200)
commitae8d5b3ca5927f57d5ddd3553bec43f58b130c26
tree24fabdbb02bb1b283dfff887117a5e1985c3a623
parent03bfe6286900ebc2f2ce6691b3dda43244ed4c64
Bug 16311 - Advanced search language limit typo

In the OPAC -> Advanced Search, the Language drop down menu incorrectly
lists Romanian as "Român (Romanian)" while the correct value (as reported
by Barry Cannon) is "Română (Romanian)".

This patch fixes that:
a) for _new_ installations by modifying
   installer/data/mysql/mandatory/subtag_registry.sql (loaded by the web
   installer when koha is installed), and also
b) for _existing_ installations by adding an atomicupdate file in
   installer/data/mysql/atomicupdate/

Test plan:
1) In the OPAC, go to Advanced search (cgi-bin/koha/opac-search.pl).
2) In the 'Language' drop down menu, observe that the value for Romanian
   is "Român (Romanian)".
3) Apply the patch, and run installer/data/mysql/updatedatabase.pl.
4) Refresh the Advanced search page in the OPAC. Confirm that the patch
   worked, i.e. the Language drop down menu lists Romanian as
   "Română (Romanian)" (notice the added 'ă').

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit fc9279774f69e8eb10e9d26202b43252fc777f28)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit eceb09a8a3a96d3481de62464e5f95c1aea8d548)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
installer/data/mysql/atomicupdate/bug_16311-fix_typo_in_OPAC_adv_search_language_drop_down.sql [new file with mode: 0644]
installer/data/mysql/mandatory/subtag_registry.sql