Hey guys, here’s an odd one. I’ve got a channel entries tag that’s been fine for some time but since upgrading to 2.5.2, the client has noticed that the first page of entries isn’t ordered correctly. Here’s the code:
{exp:channel:entries channel="blog" disable="member_data|trackbacks|categories|category_fields" status="open" limit="7" paginate="bottom" orderby="date" sort="desc"}
{if no_results}
<h1>{lv-blog-no-posts-in-category}</h1>
{/if}
{if count == 1 AND segment_2 == 'category'}
<h1>{lv-blog-category-headline} {segment_3}</h1>
{/if}
{snip-blog-article}
{paginate}
<span class="pagination">{pagination_links}</span>
{/paginate}
{/exp:channel:entries}
This is mostly snippets but you can see there’s not much going on. It all works fine when you go to page 2 and beyond, so it only appears to have an issue when there is no pagination in the URL.
The live site is at http://www.myredlandroof.co.uk/thinking-roofing but the design doesn’t include the date so I’ve attached a snapshot of the first page as it is today in the CMS and in the template
Any suggestions?
Thanks
