aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-07-03 16:31:15 +0000
committerlpsolit%gmail.com <>2006-07-03 16:31:15 +0000
commit3a6d6e9f28f3673e50f7ea84b58db7bb4a1d9385 (patch)
treef7ec7f7ab9d0df73ee4e98bcdd7001d16de1e539
parentFix on checkin for bug 343364 (diff)
downloadbugzilla-3a6d6e9f28f3673e50f7ea84b58db7bb4a1d9385.tar.gz
bugzilla-3a6d6e9f28f3673e50f7ea84b58db7bb4a1d9385.tar.bz2
bugzilla-3a6d6e9f28f3673e50f7ea84b58db7bb4a1d9385.zip
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
-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 = ?