diff --git a/ChangeLog b/ChangeLog index f2fd212b53..7d764e0f23 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,7 @@ phpMyAdmin - ChangeLog - bug #4609 'Show all' checkbox label is not clickable - bug #4610 JS error reporting: Hash fragment is reset - bug Undefined index menuswork +- bug #4614 Separator between "Show All" and "Number of rows" disappears 4.3.0.0 (not yet released) + rfe #1502 Smart sorting for int keys diff --git a/libraries/DisplayResults.class.php b/libraries/DisplayResults.class.php index fb3b9148a0..b7c0d84221 100644 --- a/libraries/DisplayResults.class.php +++ b/libraries/DisplayResults.class.php @@ -724,6 +724,12 @@ class PMA_DisplayResults } // end move toward + // show separator if pagination happen + if ($nbTotalPage > 1) { + $table_navigation_html + .= ''; + } + // Display the "Show all" button if allowed if ($GLOBALS['cfg']['ShowAll'] || ($this->__get('unlim_num_rows') <= 500) ) { @@ -731,13 +737,10 @@ class PMA_DisplayResults $showing_all, $html_sql_query ); - } // end show all - - // show separator if pagination happen - if ($nbTotalPage > 1 || $showing_all) { $table_navigation_html .= ''; - } + + } // end show all $table_navigation_html .= '' . '
'