From 715712a82d8f25fe83c3d685a5af36962cbca687 Mon Sep 17 00:00:00 2001 From: ex1nhatvh+manhdd Date: Thu, 24 Jul 2025 17:02:00 +0700 Subject: [PATCH] #1627 Fix sort in summary view --- src/Services/Search/SearchService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Services/Search/SearchService.php b/src/Services/Search/SearchService.php index 26dc4ada6..ac9bfc676 100644 --- a/src/Services/Search/SearchService.php +++ b/src/Services/Search/SearchService.php @@ -466,7 +466,7 @@ protected function setSummaryOrderBy($column, $wrap_column) { $sort_order = array_get($column->options, 'sort_order'); if (is_nullorempty($sort_order)) { - return $this; + $sort_order = 1; } $sort_type = isMatchString(array_get($column->options, 'sort_type'), '-1') ? 'desc' : 'asc';