From 00b5a1191a9770ed76a915ca0c0ae1838d8c9848 Mon Sep 17 00:00:00 2001 From: "reed%reedloden.com" <> Date: Wed, 27 Dec 2006 00:46:04 +0000 Subject: Bug 364920 - "Watcher list should be sorted alphabetically" [p=reed r=LpSolit a=justdave] --- userprefs.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'userprefs.cgi') diff --git a/userprefs.cgi b/userprefs.cgi index 555b017a8..14746ada1 100755 --- a/userprefs.cgi +++ b/userprefs.cgi @@ -201,7 +201,8 @@ sub DoEmail { my $watched_ref = $dbh->selectcol_arrayref( "SELECT profiles.login_name FROM watch INNER JOIN profiles" . " ON watch.watched = profiles.userid" . - " WHERE watcher = ?", + " WHERE watcher = ?" . + " ORDER BY profiles.login_name", undef, $user->id); $vars->{'watchedusers'} = $watched_ref; -- cgit v1.2.3-24-g4f1b