File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,12 @@ All notable changes to `laravel-livewire-tables` will be documented in this file
4
4
5
5
## [ Unreleased]
6
6
7
+ ## [ 1.19.3] - 2021-10-25
8
+
9
+ ### Changed
10
+
11
+ - Fix bulk actions - https://github.com/rappasoft/laravel-livewire-tables/pull/517
12
+
7
13
## [ 1.19.2] - 2021-10-15
8
14
9
15
### Added
@@ -536,8 +542,9 @@ All notable changes to `laravel-livewire-tables` will be documented in this file
536
542
537
543
- Initial release
538
544
539
- [ Unreleased ] : https://github.com/rappasoft/laravel-livewire-tables/compare/v1.19.2...development
540
- [ 1.19.2 ] : https://github.com/rappasoft/laravel-livewire-tables/compare/v1.19.2...v1.19.2
545
+ [ Unreleased ] : https://github.com/rappasoft/laravel-livewire-tables/compare/v1.19.3...development
546
+ [ 1.19.3 ] : https://github.com/rappasoft/laravel-livewire-tables/compare/v1.19.2...v1.19.3
547
+ [ 1.19.2 ] : https://github.com/rappasoft/laravel-livewire-tables/compare/v1.19.1...v1.19.2
541
548
[ 1.19.1 ] : https://github.com/rappasoft/laravel-livewire-tables/compare/v1.18.0...v1.19.1
542
549
[ 1.19.0 ] : https://github.com/rappasoft/laravel-livewire-tables/compare/v1.18.0...v1.19.0
543
550
[ 1.18.0 ] : https://github.com/rappasoft/laravel-livewire-tables/compare/v1.17.0...v1.18.0
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ trait WithBulkActions
15
15
public bool $ selectPage = false ;
16
16
public bool $ selectAll = false ;
17
17
public array $ selected = [];
18
- public array $ bulkActions = [];
19
18
public bool $ hideBulkActionsOnEmpty = false ;
20
19
21
20
public function renderingWithBulkActions (): void
Original file line number Diff line number Diff line change @@ -116,8 +116,10 @@ public function search_filter_alt_query_relation()
116
116
}
117
117
118
118
/** @test */
119
- public function bulk_actions_defined_with_function ()
119
+ public function bulk_actions_defined_through_function ()
120
120
{
121
+ $ this ->assertArrayHasKey ('count ' , $ this ->table ->bulkActions );
122
+
121
123
$ this ->table ->selected [] = 1 ;
122
124
$ this ->assertEquals (1 , $ this ->table ->count ());
123
125
}
You can’t perform that action at this time.
0 commit comments