From: mkanat%kerio.com <> Date: Thu, 24 Nov 2005 05:37:02 +0000 (+0000) Subject: Bug 314489: [PostgreSQL] Buglists sorted by importance fail X-Git-Tag: bugzilla-2.20.1~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6317fdfc5008a93a8027b94063e4ddbe2d7c4ea0;p=thirdparty%2Fbugzilla.git Bug 314489: [PostgreSQL] Buglists sorted by importance fail Patch By Max Kanat-Alexander r=LpSolit, a=justdave --- diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 9471fe3fdc..d9988a30ab 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -1625,6 +1625,6 @@ sub BuildOrderBy { return; } - push(@$stringlist, $orderfield . ' ' . $orderdirection); + push(@$stringlist, trim($orderfield . ' ' . $orderdirection)); } 1;