GenericTable: rename 'parse' option to 'format'

This commit is contained in:
2025-01-08 17:19:09 +01:00
parent cc0ff71ef7
commit 77809faada
6 changed files with 22 additions and 22 deletions

View File

@@ -45,7 +45,7 @@ class ManageErrors extends HTMLController
'is_sortable' => true,
],
'message' => [
'parse' => [
'format' => [
'type' => 'function',
'data' => function($row) {
return $row['message'] . '<br>' .
@@ -71,7 +71,7 @@ class ManageErrors extends HTMLController
'is_sortable' => true,
],
'time' => [
'parse' => [
'format' => [
'type' => 'timestamp',
'data' => [
'timestamp' => 'time',
@@ -89,7 +89,7 @@ class ManageErrors extends HTMLController
'uid' => [
'header' => 'UID',
'is_sortable' => true,
'parse' => [
'format' => [
'link' => BASEURL . '/edituser/?id={ID_USER}',
'data' => 'id_user',
],