Bug 14252: Add sort by rfc4646_subtag in footer

This patch sort by rfc4646_subtag the languages in the footer.
Same as in the header.

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2015-06-04 16:02:19 +02:00 committed by Tomas Cohen Arazi
parent 3a179e7a2b
commit 7e449548e8

View file

@ -38,7 +38,7 @@
<div class="navbar-inner"> <div class="navbar-inner">
<ul id="i18nMenu" class="nav"> <ul id="i18nMenu" class="nav">
<li><p class="lang navbar-text"><strong>Languages:&nbsp;</strong></p></li> <li><p class="lang navbar-text"><strong>Languages:&nbsp;</strong></p></li>
[% FOREACH languages_loo IN languages_loop %] [% FOREACH languages_loo IN languages_loop.sort('rfc4646_subtag') %]
[% IF ( languages_loo.group_enabled ) %] [% IF ( languages_loo.group_enabled ) %]
[% IF ( languages_loo.plural ) %] [% IF ( languages_loo.plural ) %]
<li class="dropdown"> <li class="dropdown">