Hi,
I want to add duration field to new entity.
Eg: For case i need to add duration field. How can I add it ??
I want to add duration field to new entity.
Eg: For case i need to add duration field. How can I add it ??
"duration": {
"type": "duration",
"start": "dateStart",
"end": "dateEnd",
"options": [300, 600, 900, 1800, 2700, 3600, 7200],
"default": 300,
"notStorable": true,
"select": "TIMESTAMPDIFF(SECOND, call.date_start, call.date_end)",
"orderBy": "duration {direction}"
}
Comment