From 2c72e621de242aa8af8e66ad6aa718fdcbf4b864 Mon Sep 17 00:00:00 2001 From: Luan Freitas <33601626+luanfreitasdev@users.noreply.github.com> Date: Sat, 30 Sep 2023 11:42:23 -0300 Subject: [PATCH] Add perPage on getCacheKeys --- src/PowerGridComponent.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PowerGridComponent.php b/src/PowerGridComponent.php index 97b531d8..e0800c11 100644 --- a/src/PowerGridComponent.php +++ b/src/PowerGridComponent.php @@ -111,6 +111,7 @@ protected function getCacheKeys(): array return [ json_encode(['page' => $this->page]), json_encode(['search' => $this->search]), + json_encode(['perPage' => data_get($this->setUp, 'footer.perPage')]), json_encode(['sortDirection' => $this->sortDirection]), json_encode(['sortField' => $this->sortField]), json_encode(['filters' => $this->filters]),