netzke/netzke-basepack — pull request #108 by wupdiwup (2013-03-23 21:00:37+00:00)
Title: Improve combo queries, filtering and sorting

This fixes the following things:

Unlike MySQL, Postgres treats LIKE queries as case sensitive. Using arel's 'matches' predicate takes into account such differences and uses ILIKE on Postgres (case insensitive). Fixed this for column filtering and combo_box queries.

The equality column filter for dates didn't return any records as the date is being cast to datetime resulting in a time of 00:00:00 (technically it returns records for that time but I assume that is not the intended behaviour).