Issue Task Closed

#84658Do not change sorting when record gets deleted

Tim Schreiner 04/07/18, 23:11 updated 10/02/18, 10:47

Description

There seems no actual advantage of updating the field defined in sortby TCA ctrl section when a record gets deleted.
Updating the field leads to problems when restoring a whole page with recycler.

Steps to reproduce:

  1. Install recycler extension
  2. Create a new page
  3. Add two content elements to it
  4. Delete the whole page (the content elements get also deleted)
  5. Restore that page with sub-records using recycler

The result is, that the content elements both has sorting set to 1000000000. So the original sorting is completely lost. When removing a page with some more content elements, then the to re-arrangement can take some time.

Reviews 1