All pastes #185801 Raw Edit

lwolf

public python v1 · immutable
#185801 ·published 2006-09-29 09:47 UTC
rendered paste body
        return self.request.get(              'items', (              portal_catalog.searchResults(path={'query': '%s/agenda' % portalPath,                                                 'depth': 10, 'navtree_start': 1, },                                           portal_type=typesToShow,                                           location=lieu,                                           eventType=type,                                           start = { "query": period_start, "range" : "max" },                                           end = {"query": [ period_start, period_end], "range": "minmax" },                                           sort_on='Date',)                +               portal_catalog.searchResults(path={'query': '%s/agenda' % portalPath,                                                 'depth': 10, 'navtree_start': 1, },                                           portal_type=typesToShow,                                           location=lieu,                                           eventType=type,                                           start = {"query": [ period_start, period_end], "range": "minmax" },                                           sort_on='Date',)              ))