[symfony-users] sorting with formfilter?

2010-11-07 Thread Stan McFarland
Hi,

Symfony newbie here. I needed to add a form filter capability to my
frontend app, which I managed to do with the bind(), getQuery() and
execute() methods, but my question is:  can I add additional SQL-type
criteria (such as order by) to the query generated by the formfilter
methods, and if so, how?

Thanks very much,

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
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] sorting with formfilter?

2010-11-07 Thread Sebastien Armand [Pink]
$query-addSort('mysort_columnt asc');

On Sun, Nov 7, 2010 at 11:05 PM, Stan McFarland sfmc...@gmail.com wrote:

 Hi,

 Symfony newbie here. I needed to add a form filter capability to my
 frontend app, which I managed to do with the bind(), getQuery() and
 execute() methods, but my question is:  can I add additional SQL-type
 criteria (such as order by) to the query generated by the formfilter
 methods, and if so, how?

 Thanks very much,

 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.comsymfony-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