I’m not completely sure why our pagination stopped working but I have a feeling it has to do with url segments?
This is our url: http://site.com/company/news/P20
This is the code for the page:
{exp:channel:entries channel="news_events" search:ne_type="News" status="open" orderby="date" sort="desc" limit="10" paginate="bottom"}
{title}
{/exp:channel:entries}Pagination shows up on http://site.com/company/news/ and shows 4 pages. When we click a page, we get no results for entries.
Our URL above is not using a template group, company is the template, and news is used within to define what to show (via IF statements).
We had this working fine, through the process of updating other things, this stopped working and I’m not sure why.
Also, expression engine is recognizing this as a pagination page. I’m using md_detect_page_type and it is returning TRUE for it being a pagination page.
Edit: I have two sites running with the same code. One site with the same exact template works with the paginate, while the other doesn’t. The only difference between the two test sites are the servers and possibly the entries for the channel within the database. The site we need to have working isn’t working.