You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a model whose certain column sorting would be useful, but as these columns are not indexed I don't want the user to use this sorting unless a filtering (which is on a indexed column itself) has been applied.
So I wonder if they are ways to :
Not display any data unless a specific filter has been used ?
Or
Make the sort option conditionnal (for example with a closure passing current query builder) ?
Or any suggestion to solve my problem.
Thank you.
The text was updated successfully, but these errors were encountered:
BenjaminOwlient
changed the title
Forced filter or conditionnal filter ?
Forced filter or conditionnal sort ?
Jun 1, 2016
Hello,
I have a model whose certain column sorting would be useful, but as these columns are not indexed I don't want the user to use this sorting unless a filtering (which is on a indexed column itself) has been applied.
So I wonder if they are ways to :
Or
Or any suggestion to solve my problem.
Thank you.
The text was updated successfully, but these errors were encountered: