Closed kosh-jelly closed 9 years ago
Yes, a db column is currently a requirement if you want to use ordering. It is not a bug, even though does seem a bit silly. By design the plugin relies on db columns to figure out the type of the filter, etc
Ah ok. Thanks. Would it be possible to not raise an error if :filter => false
?
I realize this isn't a priority, but the thought occured to me to I figured I'd share it :) (btw I'm a huge fan of this project! Thanks for creating it)
yes, I think so. The problem is I do not have time for WiceGrid these days.
I've implemented wice_grid column that does not use data directly from the database and it has a custom_order with pure sql. It looks like I have to add a db attribute in order to use that custom filter. Is that correct?
And in the view:
This isn't mission critical by any means, but it seems silly to require using a random db attribute when that db attribute is not relevant to the custom filter. Any way around this?
If this is a bug, and anyone could point me in the right direction for how we might fix it, I'm happy to give it a hack.