antonino
antonino
FFilament
Created by antonino on 6/28/2024 in #❓┊help
How to return to filtered panel after using a custom table action
Greetings - I have a list with a custom table action. any tips on how to grab the Filtered list url so I Can return to it once I run the custom action? Tables\Actions\Action::make('UpdateBG') ->label('Upload BC') ->icon('heroicon-s-document-arrow-up') ->url(fn ($record): string => route('updateProduct.bigcommerce', [$record->id]))->openUrlInNewTab(), when I try the session geturl methos in laravel I am getting the url of the custom action and not the list with the filter parameters
4 replies
FFilament
Created by antonino on 11/17/2023 in #❓┊help
Bulk Action - V3
Hi was searching for changes on bulk action in V3 as it works fine in V2... Tables\Actions\BulkAction::make('Update') ->label(__('Update Big Commerce')) ->action(fn ( Collection $records) => $records->each(function ($record) { (new updateCustomers)->updateCustomerGroups($record->vend_id); })) getting an error ($records) must be of type App\Filament\Resources\Collection, Illuminate\Database\Eloquent\Collection given. cant find a way to qualify as fialment resource... everything else seems to work fine. appreciate any help or hints...
5 replies