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

Pagination issue - when using different resource group settings in same collection pagination page count is wrong #325

Open
sonicpunk opened this issue Jun 7, 2021 · 0 comments

Comments

@sonicpunk
Copy link

We are using one collection for 4 different resource groups.

If a usergroup is assigned all resource groups, the pagination works properly.
If a user that is restricted to one of the resource groups is logged in, the pagination will separate the resources into varying sets. The first pagination page could have 1 resource, the second page could be not showing any resources, the 3rd pagination page may show 5, the 4th may show no resources again, the 5th 5 resources...

I am assuming that it is creating the pagination based on all resources in the collection, and then MODX hides those resources not belonging to a user's assigned resource group after the pagination gets created. The result is that the user sees a pagination logic that makes no sense.

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