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

New ezflow block don't sort articles

    XMLWordPrintable

Details

    Description

      If you create a new block and choose a source which contains a lot of articles, the block is filled with the oldest articles, not the latest.
      Can't get correct order in block list.
      The first time everything is fine the order is descending by published date.
      But when adding a new article that one does not appear in the frontend list unless we edit and send the block for publishing.
      This time the list of object articles is displayed without published order not DESC or ASC, looks like mixed order.

      Steps to reproduce

      1.Use this block type in block.ini.append.php:

      [LatestNews]
      Name=Latest News
      NumberOfValidItems=6
      NumberOfArchivedItems=6
      ManualAddingOfItems=disabled
      FetchClass=eZFlowLatestObjects
      FetchFixedParameters[]
      FetchFixedParameters[Class]=article
      FetchFixedParameters[Limit]=6
      FetchParameters[]
      FetchParameters[Source]=nodeID
      FetchParametersSelectionType[Source]=single
      FetchParametersIsRequired[]
      FetchParametersIsRequired[Source]=true
      ViewList[]=Latest_News
      ViewName[Latest_News]=Standard
      

      2. Create new block anywhere
      3. Type Latest News
      4. Source -> News (folder)
      5. Classes eZFlowLatestObjects

      Attachments

        Activity

          People

            ls ls
            rur@ez.no rur@ez.no
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: