Commit 0aa67b27 authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

Fix sorting order when clicking table headings

A bug introduced in commit 7d7e0793

 (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's avatarLukas Fleischer <lfleischer@archlinux.org>
parent 8c98db0b
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment