From 2d33c8a801b5f522b5adfd9434fda16d08009524 Mon Sep 17 00:00:00 2001 From: "timeless%mozdev.org" <> Date: Mon, 23 Oct 2006 22:46:33 +0000 Subject: [PATCH] =?utf8?q?Bug=20357677=20Crash=20on=20enter=5Fbug.cgi=20Pa?= =?utf8?q?tch=20by=20Fr=C3=83=C2=A9d=C3=83=C2=A9ric=20Buclin=20=20r=3Dghendricks=20r=3Dcolin.ogilvie?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Object->new_from_list() orders the list by LIST_ORDER which have these defaults: LIST_ORDER => NAME_FIELD NAME_FIELD => 'name' but the profiles table has login_name, not name so this object needs to set NAME_FIELD --- Bugzilla/User.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index ce778c728e..947d0089e6 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -90,6 +90,7 @@ use constant DB_COLUMNS => ( ); use constant NAME_FIELD => 'login_name'; use constant ID_FIELD => 'userid'; +use constant LIST_ORDER => NAME_FIELD; use constant REQUIRED_CREATE_FIELDS => qw(login_name cryptpassword); -- 2.47.3