Remove redundant formatter 'slots' data, using $item object

Created on 2 January 2024, about 1 year ago
Updated 13 March 2024, 10 months ago

Problem/Motivation

In the attempt to make more use of the OfficeHoursItem object, instead of the arrays in the formatter., we need some restructuring.
This way we can remove the redundant 'slots' element.

Proposed resolution

First, restructure ForamtterTrait.php~getRows() function.
Then, remove the 'slots' element.

API changes

$office_hours['slots'] is to be removed.
Use $office_hours['items'] instead.

📌 Task
Status

Fixed

Version

1.16

Component

Code - formatter

Created by

🇳🇱Netherlands johnv

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024