From: mkanat%kerio.com <> Date: Thu, 24 Nov 2005 05:35:59 +0000 (+0000) Subject: Bug 314489: [PostgreSQL] Buglists sorted by importance fail X-Git-Tag: bugzilla-2.22rc1~125 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=808e4b12c2e49be1bf1edafafd4c4c1ef2ddf226;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 5c08ea3047..5158091ad0 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -1690,6 +1690,6 @@ sub BuildOrderBy { return; } - push(@$stringlist, $orderfield . ' ' . $orderdirection); + push(@$stringlist, trim($orderfield . ' ' . $orderdirection)); } 1;