Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.10.0rc1, 3.9.3
-
None
-
Operating System: Mac OSX
PHP Version: 4.4.5
Database and version: MySQL
Browser (and version):
Description
The ezarchive template operator, which groups blog posts by month and is used in the eZ Website Interface (extra_info.tpl), creates a list of months which is in wrong order.
Example:
Posts in Dec 2006, Jan 2007, Feb 2007 - list will look like this:
- January 2007
- February 2007
- December 2006
but should be in this order:
- February 2007
- January 2007
- December 2006
This can be achieved by adding
ORDER BY YEAR DESC, MONTH DESC
to the SQL statement in ezarchive.php
Steps to reproduce
Look at the blogs at any site with eZ Website Interface demo data, like
http://now.ezpublish.no/eng/communities/blogs/condimentum_elit_dignissim.