From 5c95e650b26e96abc7e7c356dcbbaccfd8fc177a Mon Sep 17 00:00:00 2001 From: John Du Hart Date: Sun, 27 Nov 2011 17:31:14 +0000 Subject: [PATCH] Followup r104318, sort the options in the limit dropdown --- includes/specials/SpecialBlockList.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/specials/SpecialBlockList.php b/includes/specials/SpecialBlockList.php index 09af45c6da..719a3381b9 100644 --- a/includes/specials/SpecialBlockList.php +++ b/includes/specials/SpecialBlockList.php @@ -470,9 +470,10 @@ class HTMLBlockedUsersItemSelect extends HTMLSelectField { if ( !in_array( $value, $this->mParams['options'] ) ) { $this->mParams['options'][ $this->mParent->getLanguage()->formatNum( $value ) ] = intval($value); + asort( $this->mParams['options'] ); } return true; } -} \ No newline at end of file +} -- 2.20.1