@@ -27,7 +27,7 @@ |
||
| 27 | 27 | */ |
| 28 | 28 | public function ability() |
| 29 | 29 | { |
| 30 | - return 'index'; |
|
| 30 | + return 'index'; |
|
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | /** |
@@ -60,7 +60,9 @@ |
||
| 60 | 60 | $orderBy = []; |
| 61 | 61 | |
| 62 | 62 | foreach ($fields as $field) { |
| 63 | - if (empty($field)) continue; |
|
| 63 | + if (empty($field)) { |
|
| 64 | + continue; |
|
| 65 | + } |
|
| 64 | 66 | |
| 65 | 67 | $direction = 'ASC'; |
| 66 | 68 | if ($field[0] === '-') { |