Add default sorting to CardPinOrdersTable by creation date

- Updated CardPinOrdersTable to default sort by 'created_at' in descending order for improved data visibility.
This commit is contained in:
Mekan1206
2025-12-21 05:11:21 +05:00
parent 59548a486f
commit 5a53b90272

View File

@@ -20,6 +20,7 @@ class CardPinOrdersTable
->modifyQueryUsing(function (Builder $query) {
DefaultQueryForResourceIndexRepository::make($query);
})
->defaultSort('created_at', 'desc')
->columns([
TextColumn::make('id')
->label('ID'),