Merge pull request #17356 from lrb2/fix-browse-end
Fix table navigation layout if row count is unknown
This commit is contained in:
commit
2a2de71c06
@ -933,6 +933,11 @@ class Results
|
||||
false
|
||||
);
|
||||
|
||||
// If the number of rows is unknown, stop here (don't add the End button)
|
||||
if ($this->properties['unlim_num_rows'] === false) {
|
||||
return $buttonsHtml;
|
||||
}
|
||||
|
||||
$inputForRealEnd = '';
|
||||
// prepare some options for the End button
|
||||
if ($isInnodb && $this->properties['unlim_num_rows'] > $GLOBALS['cfg']['MaxExactCount']) {
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
{{ navigation.page_selector|raw }}
|
||||
{{ navigation.move_forward_buttons|raw }}
|
||||
|
||||
{% if navigation.number_total_page > 1 %}
|
||||
{% if navigation.number_total_page != 1 %}
|
||||
<td><div class="navigation_separator">|</div></td>
|
||||
{% endif %}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user