ExportAction not working with custom query #15664
Unanswered
zeeshantariq08
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Package
Table builder
Package Version
v3.0.0
How can we help you?
`<?php
namespace App\Filament\Widgets;
use AlperenErsoy\FilamentExport\Actions\FilamentExportBulkAction;
use App\Filament\Exports\AnswerExporter;
use App\Models\Answer;
use App\Models\FathomStatsVisit;
use Filament\Actions\Exports\Enums\ExportFormat;
use Filament\Tables;
use Filament\Tables\Table;
use Filament\Widgets\TableWidget as BaseWidget;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\Relation;
use Illuminate\Support\Carbon;
use Illuminate\Support\Facades\DB;
use Livewire\Attributes\On;
class AnswerReport extends BaseWidget
{
protected static bool $isLazy = false;
public ?string $startDate = null;
public ?string $endDate = null;
protected int|string|array $columnSpan = 'full';
}
`
it is giving this error
Export completed
Your answer export has completed and 0 rows exported. 1 row failed to export.
@leandrocfe any idea?
Beta Was this translation helpful? Give feedback.
All reactions