From 119309455b26d73e6176907a2cd0ff8c34dbc9a8 Mon Sep 17 00:00:00 2001 From: Edwin van de Pol Date: Wed, 20 Nov 2024 16:17:00 +0100 Subject: [PATCH 1/3] Fix date range filter default value --- src/Views/Filters/DateRangeFilter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Views/Filters/DateRangeFilter.php b/src/Views/Filters/DateRangeFilter.php index 838c0ec32..5884c10d6 100644 --- a/src/Views/Filters/DateRangeFilter.php +++ b/src/Views/Filters/DateRangeFilter.php @@ -133,7 +133,7 @@ protected function validateDateFormat(array $returnedValues, string $dateFormat) public function getDefaultValue(): array { - return []; + return $this->getFilterDefaultValue(); } public function getFilterDefaultValue(): array From 66d7fcc6be2877e749cd497e295bab58b409fa58 Mon Sep 17 00:00:00 2001 From: Joe <104938042+lrljoe@users.noreply.github.com> Date: Fri, 22 Nov 2024 01:59:20 +0000 Subject: [PATCH 2/3] Update ChangeLog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 260144d43..aca821424 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to `laravel-livewire-tables` will be documented in this file +## [v3.5.5] - 2024-11-22 +### Bug Fixes +Fix date range filter default value by @edwinvdpol in https://github.com/rappasoft/laravel-livewire-tables/pull/2082 + ## [v3.5.4] - 2024-11-21 ### Bug Fixes - Allow JSON and PHP type localisations by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/2071 From b026e053253c30929a94b09a6ba6e363aff6fccb Mon Sep 17 00:00:00 2001 From: Joe <104938042+lrljoe@users.noreply.github.com> Date: Fri, 22 Nov 2024 01:59:44 +0000 Subject: [PATCH 3/3] ChangeLog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aca821424..c645875cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to `laravel-livewire-tables` will be documented in this file ## [v3.5.5] - 2024-11-22 ### Bug Fixes -Fix date range filter default value by @edwinvdpol in https://github.com/rappasoft/laravel-livewire-tables/pull/2082 +- Fix date range filter default value by @edwinvdpol in https://github.com/rappasoft/laravel-livewire-tables/pull/2082 ## [v3.5.4] - 2024-11-21 ### Bug Fixes