Fix sorting document list in client portal
This commit is contained in:
parent
89e4859cb1
commit
fd118f8f82
1 changed files with 2 additions and 2 deletions
|
|
@ -215,10 +215,10 @@ class DocumentRepository extends BaseRepository
|
|||
['target' => '_blank']
|
||||
)->toHtml();
|
||||
})
|
||||
->addColumn('document_date', function ($model) {
|
||||
->addColumn('created_at', function ($model) {
|
||||
return Utils::dateToString($model->created_at);
|
||||
})
|
||||
->addColumn('document_size', function ($model) {
|
||||
->addColumn('size', function ($model) {
|
||||
return Form::human_filesize($model->size);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue