From 55c2f8d44dcf49f82d24da5db85edd9b96c4cb40 Mon Sep 17 00:00:00 2001 From: "Arjay Q. Angeles" Date: Wed, 29 May 2019 11:12:51 +0800 Subject: [PATCH] Allow column search on blacklisted columns with custom filter. Fix #2091. --- src/QueryDataTable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/QueryDataTable.php b/src/QueryDataTable.php index 721ff9dd..427d4672 100644 --- a/src/QueryDataTable.php +++ b/src/QueryDataTable.php @@ -280,7 +280,7 @@ public function columnSearch() foreach ($columns as $index => $column) { $column = $this->getColumnName($index); - if (! $this->request->isColumnSearchable($index) || $this->isBlacklisted($column)) { + if (! $this->request->isColumnSearchable($index) || $this->isBlacklisted($column) && ! $this->hasFilterColumn($column)) { continue; }