© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
1 reply
WayneLife

Export rows fail when query includes descending order

I believe I've come across an issue with exports and sorting orders on the queries.

If anyone has time to help verify and, if confirmed, any thoughts on a solution, I've drafted this initial PR to help show the potential issue and possible fix. I can add a Git Issue to match the PR if need be.

https://github.com/filamentphp/filament/pull/10847
GitHub
fix(exports) update prepare csv job to account for order by by Wayn...
Description

If a descending defaultSort is set on a resource table, large exports over 2000 records will fail at 1999 records due to the use of chunkById which does not account for the order direc...
fix(exports) update prepare csv job to account for order by by Wayn...
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Reorderable with descending order
FilamentFFilament / ❓┊help
2y ago
Change Default Order To Descending
FilamentFFilament / ❓┊help
3y ago
Export - failed rows
FilamentFFilament / ❓┊help
11mo ago
Export summary rows
FilamentFFilament / ❓┊help
2y ago