leikind / wice_grid

A Rails grid plugin to create grids with sorting, pagination, and (automatically generated) filters
MIT License
535 stars 215 forks source link

Failing to unscoped #334

Open kwerle opened 7 years ago

kwerle commented 7 years ago

Line 288 of wice_grid-3.6.2/lib/wice_grid.rb reads

initial_conditions_active_relation = @klass.where(@status[:conditions])

This looks like a reason wice seems to be acting like it is failing to ignore scope for me.

nathanvda commented 6 years ago

Nope that could not be the case, since that is only used to build the conditions, which are later applied to the given @relation.