Moved query filter logic to Redmine::FieldFormat.
Authored by: jplang 2013-11-23
Parent: [r12329]
Child: [r12331]