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

This commit is contained in:
lpsolit%gmail.com 2006-07-03 09:31:15 +00:00
parent a05018fb98
commit 07d2fc9e0a

View File

@ -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 = ?