Skip to content

Commit cd08fdf

Browse files
authored
Merge pull request #528 from rappasoft/develop
v1.19.3
2 parents 9efff63 + 7ef3dfe commit cd08fdf

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

CHANGELOG.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to `laravel-livewire-tables` will be documented in this file
44

55
## [Unreleased]
66

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+
713
## [1.19.2] - 2021-10-15
814

915
### Added
@@ -536,8 +542,9 @@ All notable changes to `laravel-livewire-tables` will be documented in this file
536542

537543
- Initial release
538544

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
541548
[1.19.1]: https://github.com/rappasoft/laravel-livewire-tables/compare/v1.18.0...v1.19.1
542549
[1.19.0]: https://github.com/rappasoft/laravel-livewire-tables/compare/v1.18.0...v1.19.0
543550
[1.18.0]: https://github.com/rappasoft/laravel-livewire-tables/compare/v1.17.0...v1.18.0

src/Traits/WithBulkActions.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ trait WithBulkActions
1515
public bool $selectPage = false;
1616
public bool $selectAll = false;
1717
public array $selected = [];
18-
public array $bulkActions = [];
1918
public bool $hideBulkActionsOnEmpty = false;
2019

2120
public function renderingWithBulkActions(): void

tests/DataTableComponentTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,10 @@ public function search_filter_alt_query_relation()
116116
}
117117

118118
/** @test */
119-
public function bulk_actions_defined_with_function()
119+
public function bulk_actions_defined_through_function()
120120
{
121+
$this->assertArrayHasKey('count', $this->table->bulkActions);
122+
121123
$this->table->selected[] = 1;
122124
$this->assertEquals(1, $this->table->count());
123125
}

0 commit comments

Comments
 (0)