bug #1027204 - paging for browse_foreigners did not work, because '&'

appendix was missing to the GoToUrl-parameter.
This commit is contained in:
Garvin Hicking
2004-09-13 12:49:24 +00:00
parent 2a9b839203
commit 3b9fad6607
2 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2004-09-13 Garvin Hicking <me@supergarv.de>
* browse_foreigners.php: bug #1027204 - paging did not
work in foreigner browsing window.
2004-09-12 Marc Delisle <lem9@users.sourceforge.net>
* sql.php: bug #988723, sql error when ordering by count( * )

View File

@@ -103,7 +103,7 @@ $nbTotalPage = @ceil($the_total / $session_max_rows);
if ($the_total > $per_page) {
$gotopage = '<br />' . $GLOBALS['strPageNumber']
. '<select name="goToPage" onchange="goToUrl(this, \'browse_foreigners.php?field=' . urlencode($field) . '&amp;' . PMA_generate_common_url($db, $table) . $pk_uri . '\');">';
. '<select name="goToPage" onchange="goToUrl(this, \'browse_foreigners.php?field=' . urlencode($field) . '&amp;' . PMA_generate_common_url($db, $table) . $pk_uri . '&amp;\');">';
if ($nbTotalPage < 200) {
$firstPage = 1;
$lastPage = $nbTotalPage;