diff --git a/resources/views/components/table-footer.blade.php b/resources/views/components/table-footer.blade.php index 3147def0..a496ce0f 100644 --- a/resources/views/components/table-footer.blade.php +++ b/resources/views/components/table-footer.blade.php @@ -1,6 +1,6 @@ {{-- blade-formatter-enable --}} @if (data_get($setUp, 'detail.showCollapseIcon')) component->columns = collect($this->component->columns) ->map(function (array|\stdClass|Column $column) use ($results, $applySummaryFormat) { + $column = (object) $column; + $field = strval(data_get($column, 'dataField')) ?: strval(data_get($column, 'field')); $summaries = ['sum', 'count', 'avg', 'min', 'max'];