Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested object loops #18

Open
darylantony opened this issue Mar 28, 2011 · 0 comments
Open

Nested object loops #18

darylantony opened this issue Mar 28, 2011 · 0 comments

Comments

@darylantony
Copy link

I've discovered a case where pagination produces 'mulitple paginate navs' when paginating over a nested loop of objects.

In my working case I have:

event_dates (datetime)
    events ('which fall on event_dates')

producing a list that looks like:

Monday 1st Jan
   Event 1 (starts)
   Event 2 (one day only)
Tuesday 2nd Jan
    Event 1 (continues)
    Event 3
Wednesday 3rd Jan
    Event 1 (ends)

In a sort of 'daily agenda' fashion.

Pagination 'appears' correct on the first page, however, on the 'last' it seems to be trying to 'paginate' the nested objects, in this case the 'events' as well, an yields 2 or more nested 'pagination navs'

I haven't tested the 'in-between' pages as yet.

Bests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant