I am using a CMP for my package. The pagination is not working correctly when I add joins to the MIGX-DB configuration. The joins are having a many-to-many relationship and once an item in question is joined with multiple relations the getList pagination on the CMP grid skips an item from the list. Let's say I see 10 items (agendaItem) in the grid per page that have a a single agendaGroup relationship (via agendaItemGroup). Once I add a second group to one of the items the list gets strip to 9 item per page and the 10th item is moved to the second page. Something messes up the correct pagination. See screencast here:
Here's the boiled down xml schema regarding these relations:
I am using a CMP for my package. The pagination is not working correctly when I add joins to the MIGX-DB configuration. The joins are having a many-to-many relationship and once an item in question is joined with multiple relations the getList pagination on the CMP grid skips an item from the list. Let's say I see 10 items (
agendaItem
) in the grid per page that have a a singleagendaGroup
relationship (viaagendaItemGroup
). Once I add a second group to one of the items the list gets strip to 9 item per page and the 10th item is moved to the second page. Something messes up the correct pagination. See screencast here:Here's the boiled down xml schema regarding these relations:
Inside my MIGX-DB configuration for
agendaItem
I am using the following joins value:[{"alias":"ItemGroups"}]
Setup: