From: lpsolit%gmail.com <> Date: Mon, 3 Jul 2006 16:31:15 +0000 (+0000) Subject: Bug 342828: keyword cache is not sorted alphabetically, makes sorting by keyword... X-Git-Tag: bugzilla-2.23.2~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a6d6e9f28f3673e50f7ea84b58db7bb4a1d9385;p=thirdparty%2Fbugzilla.git Bug 342828: keyword cache is not sorted alphabetically, makes sorting by keyword inconsistent - Patch by Rémi Zara r=LpSolit a=justdave --- diff --git a/post_bug.cgi b/post_bug.cgi index 92c17b0589..cf92216beb 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 = ?