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

ContentType option "Default field for sorting children" has no effect on new created objects

    Details

      Description

      Defined Default field for sorting children option has no effect on new created ContentObject of said ContentType and is always set to "Content Name - Ascending". After creating Content Object "Sub-items sorting order" can be changed in the "Details" tab.

      Steps to reproduce:
      1. Clean installation of eZ Platform 2.2
      2. Create new Content Type named "Test Content Type", set Default field for sorting children to Location Priority and save it.
      3. Create a new Content Object of "Test Content Type" type. Publish it.
      4. Go to the "Details" tab of the newly created Content Object.

      Result
      In "Sub-items sorting order" section you will see that sub-items are ordered by "Content Name", not "Location Priority".

        Issue Links

          Activity

          Show
          Mateusz Bieniek added a comment - - edited PR: https://github.com/ezsystems/ezpublish-kernel/pull/2428
          Hide
          Mateusz Bieniek added a comment -
          Show
          Mateusz Bieniek added a comment - Additional PR for v2: https://github.com/ezsystems/repository-forms/pull/258

            People

            • Assignee:
              Unassigned
              Reporter:
              Mateusz Bieniek
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: