Thank you very much, that was exactly what I needed.
I modified (generalized) the method a little (inspired by methods in
sfFormFilterDoctrine):
public function addTkstateColumnQuery($query, $field, $value)
{
$fieldName = $this-getFieldName($field);
Thank you very much, I'll try.
On 15 led, 14:47, ken marfillas...@gmail.com wrote:
You need to add a custom query method in your filter class.
public function addTkskateColumnQuery($query, $field, $value)
{
if (!empty($value))
{
$query-addWhereIn('p. tkstate',
Nobody filter a list by checkboxes or by a multiple selectbox?
On 11 led, 20:51, Tom Ptacnik to...@tomor.cz wrote:
Hello,
I have classic admin generated backend (Symfony 1.4). Today I've tried
to customize the filter for the list view.
The problem is that I want to filter by multiple
You need to add a custom query method in your filter class.
public function addTkskateColumnQuery($query, $field, $value)
{
if (!empty($value))
{
$query-addWhereIn('p. tkstate', $value);
}
}
On Jan 15, 5:50 pm, Tom Ptacnik to...@tomor.cz wrote:
Nobody filter a list