[Grok-dev] Sorting of zope.catalog search results

Sebastian Ware sebastian at urbantalk.se
Thu Dec 3 07:04:25 EST 2009


A related question if I roll my own. If I iterate over a query result  
from hurry.querry and call

for item in res:
    item.__name__

will the entire object be loaded into memory? If so, how can I get  
hold of the intId used by zope.catalog so I can use that as id in my  
sorting utility?

Mvh Sebastian

3 dec 2009 kl. 12.44 skrev Sebastian Ware:

> I have read a previous thread on this. I want to sort search results
> on date. I guess I could create my own sorting functionality using a
> local utility and having it subscribe to object modified events. Just
> wondering if there all ready is simple component for this.
>
> Mvh Sebastian
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> https://mail.zope.org/mailman/listinfo/grok-dev



More information about the Grok-dev mailing list