mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-03-21 15:52:03 -04:00
Fix logs pagination (#5403)
* Fix logs pagination Regression from https://github.com/FreshRSS/FreshRSS/pull/5269 * Add better default
This commit is contained in:
committed by
GitHub
parent
360400b723
commit
c8d2ead763
@@ -14,7 +14,7 @@
|
||||
?>
|
||||
|
||||
<?php if (!empty($items)) { ?>
|
||||
<?php $this->logsPaginator->render('logs_pagination.phtml'); ?>
|
||||
<?php $this->logsPaginator->render('logs_pagination.phtml', 'page'); ?>
|
||||
<div id="loglist-wrapper" class="table-wrapper">
|
||||
<table id="loglist">
|
||||
<thead>
|
||||
@@ -41,7 +41,7 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<?php $this->logsPaginator->render('logs_pagination.phtml'); ?>
|
||||
<?php $this->logsPaginator->render('logs_pagination.phtml', 'page'); ?>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ class Minz_Paginator {
|
||||
* @param string $view nom du fichier de vue situé dans /app/views/helpers/
|
||||
* @param string $getteur variable de type $_GET[] permettant de retrouver la page
|
||||
*/
|
||||
public function render(string $view, string $getteur = '0'): void {
|
||||
public function render(string $view, string $getteur = 'page'): void {
|
||||
$view = APP_PATH . '/views/helpers/' . $view;
|
||||
|
||||
if (file_exists($view)) {
|
||||
|
||||
Reference in New Issue
Block a user