Skip to content

Commit 34931b6

Browse files
committed
Set empty array as default searchPanes.
1 parent 0083a49 commit 34931b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DataTableAbstract.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ protected function filterRecords()
672672
*/
673673
protected function searchPanesSearch()
674674
{
675-
$columns = $this->request->get('searchPanes');
675+
$columns = $this->request->get('searchPanes', []);
676676

677677
foreach ($columns as $column => $values) {
678678
if ($this->isBlacklisted($column) && ! $this->hasFilterColumn($column)) {

0 commit comments

Comments
 (0)