Issue Bug Closed

#91223Content element sorting is broken in the page module

Anonymous 04/28/20, 15:46 updated 09/20/21, 09:54

Description

Page module in the backend doesent respect the order/sorting of the content elements if a backend layout with multiple rows is used.
Changing the order via drag and drop is working as long as i dont reload. Once i reload i see the old ordering by uid in the backend but its working in frontend. This doesent happens without a custom backend layout.

Steps to reproduce:
  1. Install a fresh version of TYPO3 10.4.0
  2. Create some content elements in the backend (ordering is working now)
  3. Create a backend layout with 2 rows (see below)
  4. Try to rearrange the content elements
  5. Reload the frame/click on page and you see the old ordering by creation date/uid

Here is the backend layout i used:

mod.web_layout.BackendLayouts {
  exampleKey {
    title = Example
    icon = EXT:example_extension/Resources/Public/Images/BackendLayouts/default.gif
    config {
      backend_layout {
        colCount = 1
        rowCount = 2
        rows {
          1 {
            columns {
              1 {
                name = 0x0
                colPos = 1
              }
            }
          }
          2 {
            columns {
              1 {
                name = 0x1
                colPos = 0
              }
            }
          }
        }
      }
    }
  }
}

Reviews 2