@@ -101,9 +101,9 @@ |
||
| 101 | 101 | } |
| 102 | 102 | }); |
| 103 | 103 | }); |
| 104 | + } else { |
|
| 105 | + $latest->where($columns, 'like', "%" . $criteria['search'] . "%", 'or'); |
|
| 104 | 106 | } |
| 105 | - else |
|
| 106 | - $latest->where($columns, 'like', "%" . $criteria['search'] . "%", 'or'); |
|
| 107 | 107 | } |
| 108 | 108 | |
| 109 | 109 | unset($criteria['search']); |