getgrav / grav-plugin-pagination

Grav Pagination Plugin
https://getgrav.org
MIT License
27 stars 20 forks source link

Lists of collections on pages with the page parameter are not displayed #56

Closed petira closed 3 years ago

petira commented 3 years ago

If I go through the collection, specifically from the page header (item) I take the field author (Admin) and based on it I look in the folder /author page with the corresponding title (Admin) to assign a link (/author/admin), then it works directly in the page with post (/blog/item23) also in the listing on the parent page (/blog), but no longer on pages with the parameter page (/blog/page:2 etc.). However, if I open the post page (/blog/item2), the link is active.

The only thing that occurs to me is that paging affects the transmission of information about the page.

For example:

  1. Correct output (a page /blog/itemN or list of pages on the page /blog):

Title Author: Admin | Date: 09/02/2021 | Views: 23 Summary or content...

  1. Incorrect output (list of pages on the page /blog/page:N):

Title Author: | Date: 09/02/2021 | Views: 23 Summary or content...

petira commented 3 years ago

Solved. Just remove the limit parameter in the collection (although it was large enough).