mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
#2138 보완
This commit is contained in:
parent
32adc75b94
commit
bf8591a9d2
1 changed files with 1 additions and 1 deletions
|
|
@ -1553,7 +1553,7 @@ class DocumentModel extends Document
|
|||
}
|
||||
$args->columnList[$key] = 'documents.' . $column;
|
||||
}
|
||||
if($args->columnList && !in_array($args->sort_index, $args->columnList))
|
||||
if($args->columnList && $args->sort_index && !in_array($args->sort_index, $args->columnList))
|
||||
{
|
||||
$args->columnList[] = $args->sort_index;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue