Bug 15067: Follow up to fix sorting
authorNick Clemens <nick@bywatersolutions.com>
Mon, 25 Jan 2016 20:47:27 +0000 (20:47 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 4 Aug 2021 12:06:43 +0000 (14:06 +0200)
commit83e899f8b119b095501ce7e94ea619ff20cdee14
treedada1e5d844cb2d3149f053a01ab3cf5b2aff4e1
parentab270c026be06f08745a14d1aea992877d20f812
Bug 15067: Follow up to fix sorting

It looks like C4::Languages:getLanguages relies on implicit database
order for languages. They appear to be sorted by subtag so this patch
adds that sorting to the database query to ensure the dropdown is
sorted.

Signed-off-by: Aleisha <aleishaamohia@hotmail.com>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Languages.pm