From 392e7d5a7162b96be0216e15ef4ce5b0720b4816 Mon Sep 17 00:00:00 2001 From: Anthony Rappa Date: Sun, 18 Apr 2021 22:35:26 -0400 Subject: [PATCH] Rearrange wire:keys --- CHANGELOG.md | 4 ++++ .../views/bootstrap-4/includes/bulk-actions.blade.php | 9 ++++++++- .../views/bootstrap-4/includes/filter-pills.blade.php | 4 ++-- resources/views/bootstrap-4/includes/filters.blade.php | 2 +- .../views/bootstrap-4/includes/sorting-pills.blade.php | 4 ++-- .../views/bootstrap-5/includes/bulk-actions.blade.php | 9 ++++++++- .../views/bootstrap-5/includes/filter-pills.blade.php | 4 ++-- resources/views/bootstrap-5/includes/filters.blade.php | 2 +- .../views/bootstrap-5/includes/sorting-pills.blade.php | 4 ++-- resources/views/tailwind/includes/bulk-actions.blade.php | 8 +++++++- resources/views/tailwind/includes/filter-pills.blade.php | 4 ++-- .../views/tailwind/includes/sorting-pills.blade.php | 4 ++-- 12 files changed, 41 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a000f86c..1020af2e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ All notable changes to `laravel-livewire-tables` will be documented in this file - `$searchFilterDebounce`, `$searchFilterDefer`, `$searchFilterLazy`, for defining the search input data binding property. https://github.com/rappasoft/laravel-livewire-tables/pull/211 - Remove ability to need to define filters if not defining defaults. https://github.com/rappasoft/laravel-livewire-tables/pull/213 +### Changed + +- Rearrange wire:keys + ## [1.0.3] - 2021-04-18 ### Added diff --git a/resources/views/bootstrap-4/includes/bulk-actions.blade.php b/resources/views/bootstrap-4/includes/bulk-actions.blade.php index 33ea89d2a..a2f0813c8 100644 --- a/resources/views/bootstrap-4/includes/bulk-actions.blade.php +++ b/resources/views/bootstrap-4/includes/bulk-actions.blade.php @@ -6,7 +6,14 @@ diff --git a/resources/views/bootstrap-4/includes/filter-pills.blade.php b/resources/views/bootstrap-4/includes/filter-pills.blade.php index 0ca4efb31..add318c7f 100644 --- a/resources/views/bootstrap-4/includes/filter-pills.blade.php +++ b/resources/views/bootstrap-4/includes/filter-pills.blade.php @@ -1,11 +1,11 @@ @if ($showFilters && count(array_filter($filters)) && !(count(array_filter($filters)) === 1 && isset($filters['search']))) -
+
@lang('Applied Filters'): @foreach($filters as $key => $value) @if ($key !== 'search' && strlen($value)) {{ $filterNames[$key] ?? ucwords(strtr($key, ['_' => ' ', '-' => ' '])) }}: {{ ucwords(strtr($value, ['_' => ' ', '-' => ' '])) }} diff --git a/resources/views/bootstrap-4/includes/filters.blade.php b/resources/views/bootstrap-4/includes/filters.blade.php index 2fc972854..8810be477 100644 --- a/resources/views/bootstrap-4/includes/filters.blade.php +++ b/resources/views/bootstrap-4/includes/filters.blade.php @@ -17,7 +17,7 @@ @include($filtersView) @elseif (count($customFilters)) @foreach ($customFilters as $key => $filter) -
+
@if ($filter->isSelect())