Bug 364920 - "Watcher list should be sorted alphabetically" [p=reed r=LpSolit a=justdave]

This commit is contained in:
reed%reedloden.com 2006-12-26 16:46:04 +00:00
Родитель c91319a592
Коммит b3baf9e836
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -201,7 +201,8 @@ sub DoEmail {
my $watched_ref = $dbh->selectcol_arrayref( my $watched_ref = $dbh->selectcol_arrayref(
"SELECT profiles.login_name FROM watch INNER JOIN profiles" . "SELECT profiles.login_name FROM watch INNER JOIN profiles" .
" ON watch.watched = profiles.userid" . " ON watch.watched = profiles.userid" .
" WHERE watcher = ?", " WHERE watcher = ?" .
" ORDER BY profiles.login_name",
undef, $user->id); undef, $user->id);
$vars->{'watchedusers'} = $watched_ref; $vars->{'watchedusers'} = $watched_ref;