From 0aa67b278ab8572f771603e74a92ef7ba56f006b Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Tue, 7 Nov 2017 21:36:42 +0100 Subject: 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 --- web/template/pkg_search_results.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/template') 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 ''; if ($sb) { - echo '' . $title . ''; + echo '' . $title . ''; } else { echo $title; } -- cgit v1.2.3-24-g4f1b