F
Filament2mo ago
dyo

Problem in table tabs at the custom page

Why my tabs modified query in not applied to the table when the tab is selected? Can someon tell me what is missing?
Solution:
Finally I solved it by calling $this->resetTable() when the property activeTab changed.
Jump to solution
6 Replies
dyo
dyoOP2mo ago
can someone help me?
Bruno Pereira
Bruno Pereira2mo ago
Shouldn't it be
return $table
->modifyQueryUsing(...)
return $table
->modifyQueryUsing(...)
instead of
return $table
->query
return $table
->query
?
dyo
dyoOP2mo ago
Yeah, I want to use it in the table at custom page.. But I got the issue that I mention above..
Solution
dyo
dyo2mo ago
Finally I solved it by calling $this->resetTable() when the property activeTab changed.
Want results from more Discord servers?
Add your server