Problem with searching for a relationship attribute #290
Replies: 1 comment 2 replies
-
You don't use both searchable on the columns and scopeSearch. Remove searchable from all your columns and scopeSearch will work, but you then need to add functionality to search the rest of your columns from the scope. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I would like to be able to search a has-many-relationship.
I have set up an users table and in this table, thank to the customized view, I was able to write all the groups that belong to an user.
Now, I would like to add the possibility to search for a specific group using the search box.
However, after following the documentation, I was not able to make the query works whereas on MySql, it is working properly.
row-user-table
UsersTable component
Searchable scope
The SQL generated works properly but when I search on the UI, I get the following error message
Any ideas how to set up properly a search filter for a has-many-relationship ?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions