summaryrefslogtreecommitdiffstats
path: root/web/template/pkg_search_results.php
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2017-11-07 21:36:42 +0100
committerLukas Fleischer <lfleischer@archlinux.org>2017-11-07 21:36:42 +0100
commit0aa67b278ab8572f771603e74a92ef7ba56f006b (patch)
tree6ca80deb4c199e646bf6c65f5586d7e4fb9c2f0e /web/template/pkg_search_results.php
parent8c98db0b82cc85a4498589e5d60299fefd93b421 (diff)
downloadaur-0aa67b278ab8572f771603e74a92ef7ba56f006b.tar.gz
aur-0aa67b278ab8572f771603e74a92ef7ba56f006b.tar.xz
Fix sorting order when clicking table headings
A bug introduced in commit 7d7e079 (Hide the table sorting links on the dashboard, 2017-02-04) resulted in multiple clicks on a table heading in the package search results table no longer having any effect, instead of changing the sorting order. Fix this by removing erroneous spaces from the GET parameters in the search URL. Fixes FS#56261. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/template/pkg_search_results.php')
-rw-r--r--web/template/pkg_search_results.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/pkg_search_results.php b/web/template/pkg_search_results.php
index 7f92685a..d7512b1e 100644
--- a/web/template/pkg_search_results.php
+++ b/web/template/pkg_search_results.php
@@ -3,7 +3,7 @@ if ($show_headers) {
$fmtth = function($title, $sb=false, $so=false, $hint=false) {
echo '<th>';
if ($sb) {
- echo '<a href="?' . mkurl('SB=' . $sb . '&SO = ' . $so) . '">' . $title . '</a>';
+ echo '<a href="?' . mkurl('SB=' . $sb . '&SO=' . $so) . '">' . $title . '</a>';
} else {
echo $title;
}