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
Even in the case of a single parameter. A simple query will look something like this:
Would it be possible not to use groupings unless necessary? As long as custom scopes are passed on top-level this would enable filtering to work with custom scopes. It would also make queries easier to understand. The following are equivalent
Actually, I'm wondering if groupings is needed at all. For the purposes of this ajax call even in the case of multiple fields isn't these 2 equivalent?
Seems like groupings and custom scopes don't play nice in ransack: activerecord-hackery/ransack#1339
The Ajax select will always structure the query in a grouping:
activeadmin_addons/app/javascript/activeadmin_addons/inputs/search-select.js
Lines 40 to 46 in 51a0e4b
Even in the case of a single parameter. A simple query will look something like this:
Would it be possible not to use groupings unless necessary? As long as custom scopes are passed on top-level this would enable filtering to work with custom scopes. It would also make queries easier to understand. The following are equivalent
The text was updated successfully, but these errors were encountered: