diff --git a/src/Traits/Filter.php b/src/Traits/Filter.php index 58e4367f..fd5c00ea 100644 --- a/src/Traits/Filter.php +++ b/src/Traits/Filter.php @@ -70,6 +70,8 @@ public function filterNumberStart(string $field, string $value, string $thousand $this->filters['number'][$field]['start'] = $value; $this->filters['number'][$field]['thousands'] = $thousands; $this->filters['number'][$field]['decimal'] = $decimal; + + $this->resetPage(); } /** @@ -83,6 +85,8 @@ public function filterNumberEnd(string $field, string $value, string $thousands, $this->filters['number'][$field]['end'] = $value; $this->filters['number'][$field]['thousands'] = $thousands; $this->filters['number'][$field]['decimal'] = $decimal; + + $this->resetPage(); } /** @@ -92,6 +96,8 @@ public function filterNumberEnd(string $field, string $value, string $thousands, public function filterInputText(string $field, string $value): void { $this->filters['input_text'][$field] = $value; + + $this->resetPage(); } /** @@ -101,6 +107,8 @@ public function filterInputText(string $field, string $value): void public function filterBoolean(string $field, string $value): void { $this->filters['boolean'][$field] = $value; + + $this->resetPage(); } /** @@ -110,5 +118,7 @@ public function filterBoolean(string $field, string $value): void public function filterInputTextOptions(string $field, string $value): void { $this->filters['input_text_options'][$field] = $value; + + $this->resetPage(); } }