Skip to content

Commit

Permalink
fix: all to query
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to committed Feb 12, 2025
1 parent df94ccb commit 2bc8ec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Laravel/src/Pages/Crud/IndexPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ protected function getItemsComponent(iterable $items, Fields $fields): Component
->clickAction($this->getResource()->getClickAction())
->when($this->getResource()->isAsync(), function (TableBuilderContract $table): void {
$table->async(
url: fn() => $this->getRouter()->getEndpoints()->component(name: $table->getName(), additionally: request()->all())
url: fn() => $this->getRouter()->getEndpoints()->component(name: $table->getName(), additionally: request()->query())
)->pushState();
})
->when($this->getResource()->isStickyTable(), function (TableBuilderContract $table): void {
Expand Down

0 comments on commit 2bc8ec8

Please sign in to comment.