From 0462ba1f7c0e7d601f88ea3a66134bb7943c3235 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 25 Jul 2013 16:05:15 +0800 Subject: Bug 897879: Tracking flags are not sorted --- extensions/TrackingFlags/Extension.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/TrackingFlags') diff --git a/extensions/TrackingFlags/Extension.pm b/extensions/TrackingFlags/Extension.pm index 7aa3f5af3..ea53e1e0f 100644 --- a/extensions/TrackingFlags/Extension.pm +++ b/extensions/TrackingFlags/Extension.pm @@ -286,7 +286,7 @@ sub active_custom_fields { $field_hash{$flag->name} = $flag; } - @$$fields = values %field_hash; + @$$fields = sort { $a->sortkey <=> $b->sortkey } values %field_hash; } sub buglist_columns { -- cgit v1.2.3-24-g4f1b