We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02ac019 commit ab8635fCopy full SHA for ab8635f
src/Services/Listings/TableColumns.php
@@ -31,7 +31,7 @@ public function getArrayForModelBrowser(TwillModelContract $model, TableDataCont
31
}
32
33
$data['id'] = $model->{$tableDataContext->identifierColumn};
34
- $data['name'] = $model->{$tableDataContext->titleColumnKey};
+ $data['name'] = $model->titleInBrowser ?? $model->{$tableDataContext->titleColumnKey};
35
$data['edit'] = $editUrl ?? null;
36
$data['endpointType'] = $tableDataContext->endpointType;
37
$data['repeaterFields'] = $tableDataContext->repeaterFields;
0 commit comments