You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes results show up on the 'all' tab that do not show up on the 'future' tab. When it happens it's always the first result of the second page of pagination. For example: result 25 is showing, result 26 should be the first result on the next page but it's showing result 27. I can search for result 26 and it will show up. This happens on all pagination sorts except for when i show all results. When i show all results, it shows up. Both for the 'all" tab and showing all results on pagination.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Package
Table builder
Package Version
v3.2.132
How can we help you?
I have a filament table that is sorted using a tab:
public function getTabs(): array {
return [
'future' => Tab::make('Planning')
->badge(Project::query()->where('deleted_at', null)->where('date', '>=', today())->count())
->modifyQueryUsing(function ($query){
return $query->where('deleted_at', null)->where('date', '>=', today());
}),
'all' => Tab::make('Alles')
->badge(Project::query()->where('deleted_at', null)->count())
->modifyQueryUsing(function ($query){
return $query->where('deleted_at', null);
}),
'past' => Tab::make('Historie')
->badge(Project::query()->where('deleted_at', null)->where('date', '<', today())->count())
->modifyQueryUsing(function ($query){
return $query->where('deleted_at', null)->where('date', '<', today());
}),
'canceled' => Tab::make('Geannuleerd')->modifyQueryUsing(function ($query){
return $query->whereNot('deleted_at', null);
}),
];
}
Sometimes results show up on the 'all' tab that do not show up on the 'future' tab. When it happens it's always the first result of the second page of pagination. For example: result 25 is showing, result 26 should be the first result on the next page but it's showing result 27. I can search for result 26 and it will show up. This happens on all pagination sorts except for when i show all results. When i show all results, it shows up. Both for the 'all" tab and showing all results on pagination.
Using:
Filament 3.2.132
Laravel 11.34.2
Livewire 3.5.12
PHP 8.3.13
Edit:
The results also do not show up in the HTML. So i'm guessing it's not a css issue or similar.
Beta Was this translation helpful? Give feedback.
All reactions