appdb/. browse_downloadable.php

WineHQ wineowner at wine.codeweavers.com
Fri Apr 27 18:05:30 CDT 2007


ChangeSet ID:	31112
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2007/04/27 18:05:30

Modified files:
	.              : browse_downloadable.php 

Log message:
	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

Patch: http://cvs.winehq.org/patch.py?id=31112

Old revision  New revision  Changes     Path
 1.4           1.5           +2 -1       appdb/browse_downloadable.php

Index: appdb/browse_downloadable.php
diff -u -p appdb/browse_downloadable.php:1.4 appdb/browse_downloadable.php:1.5
--- appdb/browse_downloadable.php:1.4	27 Apr 2007 23: 5:30 -0000
+++ appdb/browse_downloadable.php	27 Apr 2007 23: 5:30 -0000
@@ -49,7 +49,8 @@ $iLimitLower = ($aClean['iPage'] - 1) * 
 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";



More information about the wine-cvs mailing list