Skip to content

Commit 0c222d6

Browse files
committed
Update queryStringIdentifier to board
1 parent 95a9c5e commit 0c222d6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/Concerns/InteractsWithBoardTable.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,20 @@ public function table(Table $table): Table
2727
->map(fn ($field) => Column::make($field)->searchable())->toArray();
2828

2929
return $table
30+
->queryStringIdentifier('board')
3031
->query($board->getQuery())
3132
->filters($board->getBoardFilters())
3233
->filtersFormWidth($board->getFiltersFormWidth())
3334
->filtersFormColumns($board->getFiltersFormColumns())
3435
->filtersLayout($board->getFiltersLayout())
3536
->columns($searchableColumns);
3637
}
38+
39+
/**
40+
* Override to use board-specific query string identifier.
41+
*/
42+
protected function getTableQueryStringIdentifier(): ?string
43+
{
44+
return 'board';
45+
}
3746
}

0 commit comments

Comments
 (0)