Skip to content

Commit 3c06847

Browse files
authored
Merge pull request #2513 from yajra/patch1
Fix resolution of custom search pane query builder.
2 parents 568e670 + da1bae8 commit 3c06847

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/QueryDataTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ protected function searchPanesSearch()
119119
continue;
120120
}
121121

122-
if ($callback = data_get($this->searchPanes, $column . '.builder')) {
122+
if ($this->searchPanes[$column] && $callback = $this->searchPanes[$column]['builder']) {
123123
$callback($this->getBaseQueryBuilder(), $values);
124124
} else {
125125
$this->getBaseQueryBuilder()->whereIn($column, $values);

0 commit comments

Comments
 (0)