summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/Search.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index 5c08ea304..5158091ad 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;