Skip to content

Commit aa440eb

Browse files
authored
Merge pull request #165 from underdpt/honor-table-sort
Honor table sort when exporting
2 parents 4326e0e + 9444aca commit aa440eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Exports/ExcelExport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ public function getQuery()
264264
$model = $this->getModelInstance();
265265

266266
$query = $this->useTableQuery
267-
? invade($livewire)->getFilteredTableQuery()
267+
? $livewire->getFilteredSortedTableQuery()
268268
: $this->getModelClass()::query();
269269

270270
if ($this->modifyQueryUsing) {

0 commit comments

Comments
 (0)