diff --git a/src/Dashboards/OPCache/OPCacheTrait.php b/src/Dashboards/OPCache/OPCacheTrait.php index 829ac91..6fc5b2b 100644 --- a/src/Dashboards/OPCache/OPCacheTrait.php +++ b/src/Dashboards/OPCache/OPCacheTrait.php @@ -117,7 +117,7 @@ private function getCachedScripts(): array { private function mainDashboard(): string { $cached_scripts = $this->getCachedScripts(); - $paginator = new Paginator($this->template, $cached_scripts, [['ignore', 'pp'], ['p' => '']]); + $paginator = new Paginator($this->template, $cached_scripts, [['ignore', 'pp', 's'], ['p' => '']]); $is_ignored = isset($_GET['ignore']) && $_GET['ignore'] === 'yes'; $status = opcache_get_status(false); diff --git a/src/Paginator.php b/src/Paginator.php index cb58305..326cbf8 100644 --- a/src/Paginator.php +++ b/src/Paginator.php @@ -31,7 +31,7 @@ class Paginator { * @param array> $items * @param array> $url */ - public function __construct(Template $template, array $items, array $url = [['pp'], ['p' => '']]) { + public function __construct(Template $template, array $items, array $url = [['pp', 's'], ['p' => '']]) { $this->template = $template; $this->url = $url; $this->total = count($items);