From f7301b0a22c9cf0f6fc46542faf56d8f0cabdfcf Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Thu, 23 Oct 2025 23:27:18 +0900 Subject: [PATCH] Prevent warning when NOT sorting by extra var as number --- modules/document/document.model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/document/document.model.php b/modules/document/document.model.php index ecbf4dde2..d06a44f82 100644 --- a/modules/document/document.model.php +++ b/modules/document/document.model.php @@ -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');