Allow overriding the query
and keeping the default logic applied to it on dynamic filters
#3644
Labels
Enhancement
Not necessarily a feature, but something has improved
When defining a
query
block on a dynamic filter, the default logic applied by Ransack behind the scenes is overridden, giving the developer full control over the application of the query logic.This is great, however, sometimes, that is not the desired behavior. For example, we may want to retain the default behavior but wrap the query in a scope to apply the Mobility gem.
In such cases, a helper that applies the default query logic would be helpful.
I don't have a clear vision of what it would look like, but here are some ideas:
query
block.The text was updated successfully, but these errors were encountered: