File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
All notable changes to ` laravel-livewire-tables ` will be documented in this file
4
4
5
+ ## [ v3.4.5] - 2024-08-10
6
+ ### Bug Fixes
7
+ - Fix sort queryString bug by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1835
8
+
5
9
## [ v3.4.4] - 2024-08-10
6
10
### New Features
7
11
- Boolean/Toggle Filter by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1830
Original file line number Diff line number Diff line change @@ -19,6 +19,16 @@ public function getSingleSortingStatus(): bool
19
19
20
20
public function getSorts (): array
21
21
{
22
+ foreach ($ this ->sorts as $ column => $ direction ) {
23
+ if (is_array ($ direction )) {
24
+ foreach ($ direction as $ colAppend => $ actualDirection ) {
25
+ $ this ->sorts [$ column .'. ' .$ colAppend ] = $ actualDirection ;
26
+ unset($ this ->sorts [$ column ]);
27
+ }
28
+ }
29
+
30
+ }
31
+
22
32
return $ this ->sorts ;
23
33
}
24
34
You can’t perform that action at this time.
0 commit comments