mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 08:41:39 +09:00
Prevent warning when NOT sorting by extra var as number
This commit is contained in:
parent
77379fe230
commit
f7301b0a22
1 changed files with 1 additions and 0 deletions
|
|
@ -1350,6 +1350,7 @@ class DocumentModel extends Document
|
|||
$args = new stdClass;
|
||||
$args->sort_index = $obj->sort_index ?? null;
|
||||
$args->isExtraVars = false;
|
||||
$args->isExtraVarsSortAsNumber = false;
|
||||
|
||||
// check it's default sort
|
||||
$default_sort = array('list_order', 'regdate', 'last_update', 'update_order', 'readed_count', 'voted_count', 'blamed_count', 'comment_count', 'trackback_count', 'uploaded_count', 'title', 'category_srl');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue