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 committed 2025-12-21 05:11:21 +05:00
1 parent 59548a486f
commit 5a53b90272
1 file changed
+1
@@ -20,6 +20,7 @@ public static function configure(Table $table): Table
->modifyQueryUsing(function (Builder $query) {
DefaultQueryForResourceIndexRepository::make($query);
})
->defaultSort('created_at', 'desc')
->columns([
TextColumn::make('id')
->label('ID'),