ckan/ckan — pull request #1626 by aliceh75 (2014-04-02 16:03:06+00:00)
Title: Datastore recline preview filter searches crash on non-text fields

When using the recline preview on a datastore, applying filters on fields that are not stored as text fields (ie. varchar, text, etc.) causes a postgresql error.

The proposed patch checks for the field type and casts non-text fields to text.