From 55dc87835992032369c397150874230e66064d95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Gro=C3=9Fe?= <grosse@cosmocode.de> Date: Tue, 27 Mar 2018 16:47:36 +0200 Subject: [PATCH] fix(search): sort list of namespaces alphabetical in 2nd order --- inc/Ui/Search.php | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/Ui/Search.php b/inc/Ui/Search.php index 1ac9fcd40..6f6d324c0 100644 --- a/inc/Ui/Search.php +++ b/inc/Ui/Search.php @@ -373,6 +373,7 @@ class Search extends Ui } $namespaces[$subtopNS] += 1; } + ksort($namespaces); arsort($namespaces); return $namespaces; } -- GitLab