From e880029a3ffd965ae4e0cabe5f4d83c4934e1020 Mon Sep 17 00:00:00 2001 From: Arthur LORENT Date: Sun, 1 Jan 2023 16:40:41 +0100 Subject: [PATCH] 5.2.2 (#116) * Fixed filter reset button missing margin-top class for Bootstrap 4 & 5 templates --- CHANGELOG.md | 6 ++++++ resources/views/bootstrap-4/table.blade.php | 2 +- resources/views/bootstrap-5/table.blade.php | 2 +- tests/Unit/Bootstrap4/TableFiltersTest.php | 6 +++--- tests/Unit/Bootstrap5/TableFiltersTest.php | 6 +++--- 5 files changed, 14 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ad769bc..7e3908b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this package will be documented in this file. +## [5.2.2](https://github.com/Okipa/laravel-table/compare/5.2.1...5.2.2) + +2023-01-01 + +* Fixed filter reset button missing margin-top class for Bootstrap 4 & 5 templates + ## [5.2.1](https://github.com/Okipa/laravel-table/compare/5.2.0...5.2.1) 2022-11-14 diff --git a/resources/views/bootstrap-4/table.blade.php b/resources/views/bootstrap-4/table.blade.php index 0b58694..07ecf36 100644 --- a/resources/views/bootstrap-4/table.blade.php +++ b/resources/views/bootstrap-4/table.blade.php @@ -28,7 +28,7 @@ @endforeach @if(collect($this->selectedFilters)->filter(fn(mixed $filter) => isset($filter) && $filter !== '' && $filter !== [])->isNotEmpty()) {!! config('laravel-table.icon.reset') !!} diff --git a/resources/views/bootstrap-5/table.blade.php b/resources/views/bootstrap-5/table.blade.php index 560d0e1..90a9524 100644 --- a/resources/views/bootstrap-5/table.blade.php +++ b/resources/views/bootstrap-5/table.blade.php @@ -28,7 +28,7 @@ @endforeach @if(collect($this->selectedFilters)->filter(fn(mixed $filter) => isset($filter) && $filter !== '' && $filter !== [])->isNotEmpty()) {!! config('laravel-table.icon.reset') !!} diff --git a/tests/Unit/Bootstrap4/TableFiltersTest.php b/tests/Unit/Bootstrap4/TableFiltersTest.php index 48dbc1b..265d892 100644 --- a/tests/Unit/Bootstrap4/TableFiltersTest.php +++ b/tests/Unit/Bootstrap4/TableFiltersTest.php @@ -287,7 +287,7 @@ protected function columns(): array '
', '