Issue:

When using pager on a view with grouping filed enabled the view is split by the number of actual records rather than number of grouped records. This would make the pager to break the page in between the grouping filed values. Is there a way to break the page at the end of a grouping filed records rather than in the middle?

example

Group 1

  • Item 1
  • Item 2
  • Item 3
  • Item 4

Group 2

  • Item 5
  • Item 6
  • Item 7
  • Item 8

If we give the number of rows per page as 3 it breaks at item 3 and item 4 is displayed in the next page. and it would continue till Item6 and item 7 onwards would display in the next page.

Is there a way to break it at the end of a grouping field rather than in between them.

Thank you in advance.

Best Regards
Shameem

Comments

merlinofchaos’s picture

Status: Active » Closed (won't fix)

Unfortunately there is no way to do this. The pager has no idea, in advance, how the records will group.

Dane Powell’s picture

I've run into this issue as well, has anyone figured out a workaround?