mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-25 19:49:34 +00:00
Prevent the extra column of the log data tables to be ordered
This makes not much sense because its JSON data under the hood, and PostgreSQL errors when trying to do it.
This commit is contained in:
parent
766ba07105
commit
aa9aedc5fd
1 changed files with 1 additions and 0 deletions
|
|
@ -208,6 +208,7 @@ class LogDataTable implements DataTableTypeInterface
|
|||
|
||||
$dataTable->add('extra', LogEntryExtraColumn::class, [
|
||||
'label' => 'log.extra',
|
||||
'orderable' => false, //Sorting the JSON column makes no sense: MySQL/Sqlite does it via the string representation, PostgreSQL errors out
|
||||
]);
|
||||
|
||||
$dataTable->add('timeTravel', IconLinkColumn::class, [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue