mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
8c98db0b82
commit
0aa67b278a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue