Discussion:
[Erp5-dev] Problems with sorting by date...
Łukasz Nowak
2006-11-28 15:26:10 UTC
Permalink
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?

Bye,
Luke
--
?ukasz Nowak R&D Ventis http://www.ventis.com.pl/
tel: +48 32 392 10 60 int 37 fax: +48 32 392 10 61
https://ssl.ventis.com.pl/keys/lukasz.nowak.pub.asc
``Use the Source, Luke...''
Jérôme Perrin
2006-11-30 12:41:52 UTC
Permalink
Post by Łukasz Nowak
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

Loading...