Bug 16311 - Advanced search language limit typo
authorAndreas Roussos <arouss1980@gmail.com>
Fri, 9 Sep 2016 16:46:33 +0000 (19:46 +0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Mon, 12 Sep 2016 09:06:18 +0000 (09:06 +0000)
commitfc9279774f69e8eb10e9d26202b43252fc777f28
tree8d8d085977eff6ca7e49f72c28e5bc16826ba68d
parent777355089a3d10c7b72a4a21d9aaeb32ad8999f9
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>
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