summaryrefslogtreecommitdiffstats
path: root/post_bug.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-07-03 18:31:15 +0200
committerlpsolit%gmail.com <>2006-07-03 18:31:15 +0200
commit3a6d6e9f28f3673e50f7ea84b58db7bb4a1d9385 (patch)
treef7ec7f7ab9d0df73ee4e98bcdd7001d16de1e539 /post_bug.cgi
parentf447fd56a839c2270954a430d02ff445f04386e8 (diff)
downloadbugzilla-3a6d6e9f28f3673e50f7ea84b58db7bb4a1d9385.tar.gz
bugzilla-3a6d6e9f28f3673e50f7ea84b58db7bb4a1d9385.tar.xz
Bug 342828: keyword cache is not sorted alphabetically, makes sorting by keyword inconsistent - Patch by RĂ©mi Zara <remi_zara@mac.com> r=LpSolit a=justdave
Diffstat (limited to 'post_bug.cgi')
-rwxr-xr-xpost_bug.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/post_bug.cgi b/post_bug.cgi
index 92c17b058..cf92216be 100755
--- a/post_bug.cgi
+++ b/post_bug.cgi
@@ -509,7 +509,8 @@ if (UserInGroup("editbugs")) {
my $list = $dbh->selectcol_arrayref(qq{
SELECT name
FROM keyworddefs
- WHERE id IN ($kw_ids)});
+ WHERE id IN ($kw_ids)
+ ORDER BY name});
my $kw_list = join(', ', @$list);
$dbh->do(q{UPDATE bugs
SET delta_ts = ?, keywords = ?