Loading
Issue #3630495: Formatter bug when rendered twice on page
With 'Replace weekday time slots with exception dates', getRows() put the items of the field itself into the weekday rows, and grouping then changed them. It also kept the sorted list of its cloned, grouped items for the next call. A second formatter of the same field in the same request - the field shown twice on a page, or a view listing the same entity in several rows - then showed merged or shifted days.
Copy the items that replace a weekday, and restore the sorted list of the field at the end of getRows().
Closes #3630495