I've got a blog post on how to use the form filters here:
http://sf.khepin.com/2010/10/symfony-filter-forms-and-related-tables/
in the part where I explain how to use filters from related tables, I
explain how to override the generation of the query part for a certain field
or relation in order to avoid that issue you're having.

If not enough, post again here so I'll detail.

On Thu, Nov 18, 2010 at 11:36 PM, Stan McFarland <sfmc...@gmail.com> wrote:

> Hi,
>
> I've successfully created a filter form for my frontend app, but want
> to allow the user to select multiple values for a given attribute.
> After changing the widget to allow multiple values,  I can select a
> single value from the select widget, and the SQL appears to be
> generated correctly:
>
> Before:   (r.status_id = ?) - (1)
> After:      (r.status_id in ?) - (1)
>
> but if I select multiple values I get an error "Invalid parameter
> number: number of bound variables does not match number of tokens."
> I'd cut and paste the error log except I'm behind a firewall with no
> way to cut and paste.   Is what I'm wanting to do possible?
>
> Thanks,
>
> Stan
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to