summaryrefslogtreecommitdiffstats
path: root/extensions/TrackingFlags
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-07-25 10:05:15 +0200
committerByron Jones <bjones@mozilla.com>2013-07-25 10:05:15 +0200
commit0462ba1f7c0e7d601f88ea3a66134bb7943c3235 (patch)
treeb47c1b597acaec2b9a93d0cacb3f1c061d7d9f1b /extensions/TrackingFlags
parent63a490600338fa1e31b34dfcfb325a37d5d0e45f (diff)
downloadbugzilla-0462ba1f7c0e7d601f88ea3a66134bb7943c3235.tar.gz
bugzilla-0462ba1f7c0e7d601f88ea3a66134bb7943c3235.tar.xz
Bug 897879: Tracking flags are not sorted
Diffstat (limited to 'extensions/TrackingFlags')
-rw-r--r--extensions/TrackingFlags/Extension.pm2
1 files changed, 1 insertions, 1 deletions
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 {