Bugzilla – Attachment 146194 Details for
Bug 32775
Ordering when there are multiple languages within a language group is wrong
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32775: Do not order language directories based on when they were created
Bug-32775-Do-not-order-language-directories-based-.patch (text/plain), 958 bytes, created by
Katrin Fischer
on 2023-02-05 12:13:44 UTC
(
hide
)
Description:
Bug 32775: Do not order language directories based on when they were created
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-02-05 12:13:44 UTC
Size:
958 bytes
patch
obsolete
>From bb86116221ada7efd50a95eed689d6f94772afbc Mon Sep 17 00:00:00 2001 >From: Alex Buckley <alexbuckley@catalyst.net.nz> >Date: Wed, 1 Feb 2023 14:41:22 +1300 >Subject: [PATCH] Bug 32775: Do not order language directories based on when > they were created > >Sponsored-by: Kinder library, New Zealand >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > C4/Languages.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Languages.pm b/C4/Languages.pm >index c05c31bf9e..9dcd3cf337 100644 >--- a/C4/Languages.pm >+++ b/C4/Languages.pm >@@ -314,7 +314,7 @@ sub _get_language_dirs { > $theme //= ''; > my @lang_strings; > opendir D, "$htdocs/$theme"; >- for my $lang_string ( readdir D ) { >+ for my $lang_string ( sort readdir D ) { > next if $lang_string =~/^\./; > next if $lang_string eq 'all'; > next if $lang_string =~/png$/; >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32775
:
145918
|
145919
|
145983
|
145984
|
145996
|
145997
|
145998
|
146194
|
146195
|
146196
|
146569
|
146570
|
146571
|
146572
|
146573
|
146574
|
146575
|
146576
|
148392
|
148393
|
148394
|
148395
|
148396
|
148397