Re: [ZIZope] Ricerca per data

Fabrizio Reale <[email protected]>
Newsgroups gmane.comp.web.zope.italian
Message-ID <[email protected]>
Alle giovedì 29 novembre 2007, A.Santoro ha scritto:
> Salve a tutti,
> ho un problema nell'effettuare la ricerca di contenuti in base ad una
> data.

Indicativamente il percorso è questo:
Usare un campo AT di tipo DateTimeField, farlo indicizzare da un DateIndex e 
poi fare la ricerca con il catalog.

Per vedere che parametri passare ti suggerisco di dare un'occhiata alla 
ricerca standard (search_form) di Plone in quanto passa anche delle 
informazioni temporali (contenuti nuovi da una settimana, un mese, ecc...).

Fabry

-- 
Fabrizio Reale                               [email protected]
Redomino S.r.l.                 Largo Valgioie 14 - 10146 Torino - Italy
Tel: +39 011 7499875 - Fax: +39 011 3716911     http://www.redomino.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.