diff --git a/src/Orderable.php b/src/Orderable.php index ae79d16..af252f5 100644 --- a/src/Orderable.php +++ b/src/Orderable.php @@ -122,6 +122,6 @@ public static function modelOrderByFieldAttribute($model) return; } - return $model->sortable['order_column_name'] ?? null; + return $model->sortable['order_column_name'] ?? 'order_column'; } }