Skip to content

Commit 770b18b

Browse files
committed
Merge branch 'develop' of https://github.com/rappasoft/laravel-livewire-tables into develop
2 parents eae413c + a5f336f commit 770b18b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/WithSorting.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ trait WithSorting
1717

1818
public function sortBy(string $field): ?string
1919
{
20-
if ($this->singleColumnSorting && count($this->sorts) && !isset($this->sorts[$field])) {
20+
if ($this->singleColumnSorting && count($this->sorts) && ! isset($this->sorts[$field])) {
2121
$this->sorts = [];
2222
}
2323

0 commit comments

Comments
 (0)