[triangle-zpug] Re: Batching results from AdvancedQuery

Mike Revoir mrevoir at gmail.com
Wed Aug 9 15:04:23 CEST 2006


For completeness, I got around this by creating a new list from the results.

results = [r for r in results if 1 == 1]

Mike

On 8/9/06, Mike Revoir <mrevoir at gmail.com> wrote:
> Hello all,
>
> I'm using AdvancedQuery to return catalog results so that I can sort on two
> indexes. When batching the results, I'm getting a StopIteration exception
> when navigating to the last page. Has anyone else experienced this? Any
> ideas on how to troubleshoot?
>
> Thanks,
>
> Mike
>



More information about the triangle-zpug mailing list