[Zope-CMF] Issue with the calendar script.
Dieter Maurer
dieter@handshake.de
Sat, 4 Aug 2001 23:34:46 +0200 (CEST)
Ian Ford writes:
> ...
> I have used the calendar.dtml file located on cmf.zope.org but I am not
> able to get the contents of the catalog to print out, unless I take out
> the line of code that says:
> start=date.latestTime()
>
> If I remove the start=date.latestTime() I get all the timecards in all
> the day datacells of the calendar instead of just getting the timecards
> in the datacells of the corresponding day...
> ...
> <dtml-in "portal_catalog.searchResults(meta_type='CMF TimeCard'
> , sort_on='Date'
> , review_state='private'
> , sort_order='reverse'
> , start=date.latestTime()
> , start_usage='range:max'
> , end=date.earliestTime()
> , end_usage='range:min'
>
> )">
"latestTime" should be after "earliestTime", shouldn't it?
Thus, your start is after the end. Expect an empty result.
Dieter