Issue Bug Closed

#87612Content element sorting wrong when one element has sorting value of zero

Helmut Hummel 02/01/19, 12:41 updated 12/23/19, 22:48

Description

When one content element has a sorting value of 0, pasting a new element on that column does not work correctly.

This can e.g. be triggered with gridelements (https://gitlab.com/coderscare/gridelements/issues/5)

Expectation: when one element has a sorting value of 0 and a new element should be inserted before this element, the element with value 0 should be included in re-numbering the sort values

Actual result: the element with sorting value of 0 will always be excluded from re-numbering, thus will always stay on top

Reviews 2