FilamentExportHeaderAction return all data, doesn't respect getTableQuery method
Closed this issue · 1 comments
mdaushi commented
the problem is the same as #21 . I have read all the issues but have not found a solution
in get Table query method i use it like this
public function getTableQuery(): Builder
{
$record = Route::current()->record;
return PlanKegiatanPengajuanPerjalananDinas::query()
->where('pengajuan_perjalanan_dinas_id', $record);
}
return data table
but on export the result returns all data
am I missing somthing?
thanks in advance
alperenersoy commented
hey! somehow the changes i've made in #21 were gone. added again and should work well after the release.