We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67a3731 commit ee46e42Copy full SHA for ee46e42
src/Grid.php
@@ -139,7 +139,7 @@ protected function init(): void
139
$this->stickyGet($this->paginator->name);
140
}
141
142
- $this->stickyGet('_q');
+ $this->stickyGet($this->name . '_q');
143
144
145
protected function initTable(): Table
@@ -342,7 +342,7 @@ public function addQuickSearch($fields = [], $hasAutoQuery = false)
342
$view = View::addTo($this->menu
343
->addMenuRight()->addItem()->setElement('div'));
344
345
- $q = trim($this->stickyGet('_q') ?? '');
+ $q = trim($this->stickyGet($this->name . '_q') ?? '');
346
if ($q !== '') {
347
$scope = Model\Scope::createOr();
348
foreach ($fields as $field) {
0 commit comments