@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | $myQuery = clone $this->query; |
| 85 | 85 | // if its a normal query ( no union, having and distinct word ) |
| 86 | 86 | // replace the select with static text to improve performance |
| 87 | - if (! Str::contains(Str::lower($myQuery->toSql()), ['union', 'having', 'distinct', 'order by', 'group by'])) { |
|
| 87 | + if (!Str::contains(Str::lower($myQuery->toSql()), ['union', 'having', 'distinct', 'order by', 'group by'])) { |
|
| 88 | 88 | $row_count = $this->connection->getQueryGrammar()->wrap('row_count'); |
| 89 | 89 | $myQuery->select($this->connection->raw("'1' as {$row_count}")); |
| 90 | 90 | } |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | $columnDef = $this->columnDef['filter'][$columnName]; |
| 113 | 113 | // check if global search should be applied for the specific column |
| 114 | 114 | $applyGlobalSearch = count($columnDef['parameters']) == 0 || end($columnDef['parameters']) !== false; |
| 115 | - if (! $applyGlobalSearch) { |
|
| 115 | + if (!$applyGlobalSearch) { |
|
| 116 | 116 | continue; |
| 117 | 117 | } |
| 118 | 118 | |
@@ -280,7 +280,7 @@ discard block |
||
| 280 | 280 | $columns = $this->request->get('columns'); |
| 281 | 281 | |
| 282 | 282 | foreach ($columns as $index => $column) { |
| 283 | - if (! $this->request->isColumnSearchable($index)) { |
|
| 283 | + if (!$this->request->isColumnSearchable($index)) { |
|
| 284 | 284 | continue; |
| 285 | 285 | } |
| 286 | 286 | |
@@ -445,7 +445,7 @@ discard block |
||
| 445 | 445 | $joins[] = $join->table; |
| 446 | 446 | } |
| 447 | 447 | |
| 448 | - if (! in_array($table, $joins)) { |
|
| 448 | + if (!in_array($table, $joins)) { |
|
| 449 | 449 | $this->getQueryBuilder() |
| 450 | 450 | ->leftJoin($table, $foreign, '=', $other); |
| 451 | 451 | } |