@@ -272,7 +272,7 @@ discard block |
||
272 | 272 | if ($this->request->isRegex($i)) { |
273 | 273 | if($this->isOracleSql()){ |
274 | 274 | $this->query->whereRaw(' REGEXP_LIKE( LOWER('.$column.') , ?, \'i\' )', [$keyword]); |
275 | - }else{ |
|
275 | + } else{ |
|
276 | 276 | $this->query->whereRaw('LOWER(' . $column . ') REGEXP ?', [Str::lower($keyword)]); |
277 | 277 | } |
278 | 278 | } else { |
@@ -283,7 +283,7 @@ discard block |
||
283 | 283 | if ($this->request->isRegex($i)) { |
284 | 284 | if($this->isOracleSql()){ |
285 | 285 | $this->query->whereRaw(' REGEXP_LIKE( '.$col.' , ? )', [$keyword]); |
286 | - }else{ |
|
286 | + } else{ |
|
287 | 287 | $this->query->whereRaw($col . ' REGEXP ?', [$keyword]); |
288 | 288 | } |
289 | 289 | } else { |