Pagination when using a news tags
Hi!
I'm using contao 2.9 and found a strange behavior of pagination.
For example, I have created a 5 news, where I set common tags for 3 news.
Then I have set a 2 items per page, so I have get a 3 news page and this is ok. http://grab.by/5zu0
Then I have click on tag, and I expected that I see a paginator with 2 pages, but I have get a paginator with 3 pages,
when I click to page 3 - I have seen an empty page. http://grab.by/5zu1
Re: Pagination when using a news tags
another issue
When I have tried to look at the single news with news_reader and news_full_tags template I have get tags links like
news_reader/items/first-news/tag/first+tag.html
but correct links is news/tag/first+text.html
Sorry if my questions is too weird.
Re: Pagination when using a news tags
Quote:
Originally Posted by Dmitry
Hi!
I'm using contao 2.9 and found a strange behavior of pagination.
For example, I have created a 5 news, where I set common tags for 3 news.
Then I have set a 2 items per page, so I have get a 3 news page and this is ok.
http://grab.by/5zu0
Then I have click on tag, and I expected that I see a paginator with 2 pages, but I have get a paginator with 3 pages,
when I click to page 3 - I have seen an empty page.
http://grab.by/5zu1
I'm actually running into this same issue. What seems to be happening is that it correctly filters my newslist by tag, but for the count of items used to generate the number of pages it is using the unfiltered list. So I have 19 entries and when broken up into pages of 5 it makes 4 pages which is correct. I then have a newlist filtered by tag which gives me 5 entries. This should be just one page, but it still shows all 4 pages. All of them are blank except for the first page.