Skip to content

Am I filtering wrong? #274

Closed Answered by rappasoft
kb6673 asked this question in Q&A
May 6, 2021 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

address comes from the column because you didn't specify.

Column::make( 'Address' ) will assume a column name of address unless you pass a second parameter.

Search uses that column, you can override the search functionality with a closure: https://github.com/rappasoft/laravel-livewire-tables/wiki/Using-the-built-in-searching

I'm assuming you'll get the same error if you try to sort, because address doesn't exist but you're not telling it what to use otherwise.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@rappasoft
Comment options

Answer selected by kb6673
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
2 participants