From: lpsolit%gmail.com <> Date: Mon, 3 Jul 2006 16:33:27 +0000 (+0000) Subject: Bug 342828: keyword cache is not sorted alphabetically, makes sorting by keyword... X-Git-Tag: bugzilla-2.22.1~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09aead6f452144c9469835e259d3dee6176e2486;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 f2b9d1676b..94f224940e 100755 --- a/post_bug.cgi +++ b/post_bug.cgi @@ -438,7 +438,7 @@ if (UserInGroup("editbugs")) { if (@keywordlist) { # Make sure that we have the correct case for the kw SendSQL("SELECT name FROM keyworddefs WHERE id IN ( " . - join(',', @keywordlist) . ")"); + join(',', @keywordlist) . ") ORDER BY name"); my @list; while (MoreSQLData()) { push (@list, FetchOneColumn());