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

Sub-items sorting order not respected by UDW

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • None
    • 2.1.0
    • None
    • None

    Description

      As a user I would expect the "Sub-items sorting order" selection to take effect also when using the UDW to discover content. Currently it works for the sub items listed in the main window, but this sorting is not applied in the UDW.

      This seems to be that the REST API call does not respect the set sorting parameters. Instead it seems that it always tries to sort by Section Identifier ( Ascending ).

      Consider sub items ContentQuery:

      Filter : {ParentLocationIdCriterion: "13169"}
      SortClauses : {LocationPriority: "descending"}
      

      This is the equivalent for UDW:

      Filter : {ParentLocationIdCriterion: 13169}
      SortClauses : {SectionIdentifier: "ascending"}
      

      Steps to reproduce:

      • Create content items under a folder
      • Define children sorting for parent folder
      • Observe how sorting changes when modifying sorting
      • Navigate to same location with UDW
      • Observe that sorting changes are not respected

      Attachments

        Activity

          People

            Unassigned Unassigned
            jani.tarvainen@ibexa.co Jani Tarvainen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: