Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-11482

ezarchive operator - month list is in wrong order

    XMLWordPrintable

Details

    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.

      Attachments

        Activity

          People

            ls ls
            d3033e20-952b-48da-80d2-72ce2e0f7648@ibexaaccounts.onmicrosoft.com Silke Fox
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: