Skip to content

I'm having issues with filters after upgrading to Laravel 10 and laravel livewire tables 2.13.1 #1214

Closed Answered by lrljoe
neamtua asked this question in Q&A
Discussion options

You must be logged in to vote

Couple of quick pointers.

You shouldn't call select() as the package will figure out the columns you need automagically based on your column names.

Use setAdditionalSelects() if you need to add fields that don't have a direct column

For applying filters, I find the smoothest way is "Apply Filters at the Filter Level", docs are here which explain it better than I would!
https://rappasoft.com/docs/laravel-livewire-tables/v2/filters/applying-filters

Replies: 2 comments 4 replies

Comment options

lrljoe
May 18, 2023
Collaborator Sponsor

You must be logged in to vote
4 replies
@neamtua
Comment options

@neamtua
Comment options

@lrljoe
Comment options

lrljoe May 22, 2023
Collaborator Sponsor

@neamtua
Comment options

Answer selected by neamtua
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants