Skip to content

Commit 55c2f8d

Browse files
committed
Allow column search on blacklisted columns with custom filter.
Fix yajra#2091.
1 parent 62f14b2 commit 55c2f8d

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)