[Erp5-dev] Problems with sorting by date...

Jérôme Perrin jerome at nexedi.com
Thu Nov 30 13:41:52 CET 2006


Le Mardi 28 Novembre 2006 16:26, Łukasz Nowak a écrit :
> Hello,
>
> I wonder if it is possible to sort by dates of documents. AFAIK start_
> and stop_ are cataloged (well, I'm able to use them in listbox to
> restrict results using portal_catalog) but using {start_|stop_}date
> field for sorting do not work. Is it a bug, a feature or...implement it
> yourself task? :) Or it have to be somewhere configured?

'start_date' is ambigous for buildSqlQuery, it's a column in movement table 
and in delivery table. Using 'delivery.start_date' as column name works.

Jérome



More information about the Erp5-dev mailing list