index : archweb32 | |
Archlinux32 website | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-09-17 21:44:28 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-09-17 21:44:28 +0200 |
commit | 20c324cf8e371f89a9b279c4374a25dfd3645ccb (patch) | |
tree | 3b82fae5dab04fa66ab97fa5ede5ac546d1d9863 /buildmaster | |
parent | a53a2065d92933dcad9f295ef1bf7f0b99e0161e (diff) |
-rw-r--r-- | buildmaster/build-list.php | 20 |
diff --git a/buildmaster/build-list.php b/buildmaster/build-list.php index 34f058b..0a41a88 100644 --- a/buildmaster/build-list.php +++ b/buildmaster/build-list.php @@ -473,16 +473,6 @@ foreach ($single_select_search_criteria as $criterium) { </div> <?php -foreach ($to_shows as $link => $dummy) { - print "-\n"; - if ($link != $to_show) - print "<a href=\"?show=" . $link . "\">"; - print $link . " package builds"; - if ($link != $to_show) - print "</a>"; - print "\n"; -} - if ($count > 0) { ?> @@ -495,7 +485,15 @@ if ($count > 0) { foreach ($columns as $column) { print " <th>\n"; - print " <a href=\"?show=" . $to_show . "&sort="; + print " <a href=\"?"; + print substr( + str_replace( + "&sort=".$_GET["sort"]."&", + "&", + "&" . $_SERVER["QUERY_STRING"] . "&" + ), + 1 + ) . "sort="; if ($column["sort"] == $_GET["sort"]) print "-"; print $column["sort"] . "\" "; |