Fix page change on browse downloadable page. The URL for next/previous links should include
the current license filter, otherwise the license selection is load on every page load
This commit is contained in:
@@ -49,7 +49,8 @@ $iLimitLower = ($aClean['iPage'] - 1) * $aClean['iNumVersions'];
|
||||
echo "<div align=\"center\">\n";
|
||||
echo "<b>Page ".$aClean['iPage']." of $iNumPages</b><br />\n";
|
||||
display_page_range($aClean['iPage'], $iPageRange, $iNumPages,
|
||||
$_SERVER['PHP_SELF']."?iNumVersions=".$aClean['iNumVersions']);
|
||||
$_SERVER['PHP_SELF']."?iNumVersions=".$aClean['iNumVersions']."&sLicense=".
|
||||
$aClean['sLicense']);
|
||||
|
||||
/* Selector for how many versions to display */
|
||||
echo "<form method=\"get\" action=\"".$_SERVER['PHP_SELF']."\">\n";
|
||||
|
||||
Reference in New Issue
Block a user