Forum: Ruby on Rails Wice Grid - How to customize a SQL-query?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
A4a967a89f6c2da6b7a7c989a71b2084?d=identicon&s=25 Quake L. (quaker)
on 2015-10-22 11:59
Hello guys,

is it possible to "customize" filter specific SQL-queries? Maybe in the
wice_grid_config.rb ?

If so then tell me how please.

To mention the problem i have, here it comes:

I want to filter some records of a specific table, let say the name of
the table is clients.

The filter i want to use is the date->to filter.
The problem is that if I use it, let say for the date "02.04.2015" then
it will look for all dates "< 02.04.2015".

But i want it to be "<= 02.04.2015".


This topic is locked and can not be replied to.