Page 1 of 1

Pagination issue for user role Author

Posted: Mon Sep 18, 2023 9:00 am
by medicamin
Hi there,
I have a Bludit installation on a domain, with two users. One administrator and one Author.
The administrator has 160 posts published, and the other user with author role has published 11 posts.
Pagination in admin area (contents) is fine when I'm logged in with the administrator role. There are 8 pages with 20 posts in each.
But when logging with the author role, pagination has still 8 pages! the first page is empty, the second page has 1 post, the third page has 4 posts and so on... . And the link on "Last" shows page number 8!
This happens only for users with the role Author. If I change the role to Editor, which has access to all posts, pagination has no issue.
It seems Bludit hides the unrelated posts to the author, but does not recalculate the number of pages for that specific author. Is it a bug or a feature? :?

bludit: 3.15.0
php: 7.3

Re: Pagination issue for user role Author

Posted: Thu Sep 21, 2023 4:47 pm
by medicamin
The only workaround I found, is to set the items-per-page in variables.php to a high number, so as pagination in the admin/content get bypassed some how:

Code: Select all

define('ITEMS_PER_PAGE_ADMIN', 1000);
But it's not a solution.

Re: Pagination issue for user role Author

Posted: Mon Sep 22, 2025 10:53 pm
by medicamin
This bug is still present in 3.16.2 :-(