Skip to content

Commit 4f62c6b

Browse files
authored
Merge pull request yajra#2102 from yajra/patch-1
[9.]0 Allow column search on blacklisted columns with custom filter.
2 parents 62f14b2 + 55c2f8d commit 4f62c6b

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
@@ -280,7 +280,7 @@ public function columnSearch()
280280
foreach ($columns as $index => $column) {
281281
$column = $this->getColumnName($index);
282282

283-
if (! $this->request->isColumnSearchable($index) || $this->isBlacklisted($column)) {
283+
if (! $this->request->isColumnSearchable($index) || $this->isBlacklisted($column) && ! $this->hasFilterColumn($column)) {
284284
continue;
285285
}
286286

0 commit comments

Comments
 (0)