remove console.log

This commit is contained in:
Maik Müller 2021-09-19 14:10:18 +02:00
parent bbc25d9af0
commit 2f0096cab2
1 changed files with 2 additions and 3 deletions

View File

@ -146,7 +146,7 @@ trait ColumnMultiFilter
}
} else {
Log::debug('where ..'.print_r([$column, $operator, $value, $logic], true));
$query = $this->addWhereIfValid($query, $column, $operator, $value, $logic);
}
@ -177,11 +177,10 @@ trait ColumnMultiFilter
private function addWhereIfValid(Builder $query, string $column, string $operator, string $value, string $logic)
{
if (trim($operator) === 'like' && trim($value) === '') {
if (trim($value) === '') {
return $query;
}
Log::debug('add where now');
$query->where($column, $operator, $value, $logic);
return $query;