Skip to content

Commit

Permalink
Merge pull request #1542 from exceedone/hotfixfeature/issue_1527
Browse files Browse the repository at this point in the history
Issue #1527 set freeword search key 'query'
  • Loading branch information
KajitoriAdmin authored Dec 23, 2024
2 parents fd8c33d + dd9bfb1 commit ec1fe60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Services/Plugin/PluginCrud/CrudGrid.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ protected function setGridTools(Grid $grid)
$grid->disableCreateButton();

if ($this->pluginClass->enableFreewordSearch()) {
Grid::setSearchKey('query');
$grid->quickSearch(function ($model, $input) {
}, 'left');
}
Expand Down

0 comments on commit ec1fe60

Please sign in to comment.