summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Search.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Search.pm')
-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;