Only show flights if they're also marked as visible
This commit is contained in:
@@ -71,7 +71,8 @@ class FlightRepository extends Repository implements CacheableInterface
|
||||
$where = [];
|
||||
|
||||
if ($only_active === true) {
|
||||
$where['active'] = $only_active;
|
||||
$where['active'] = $only_active;
|
||||
$where['visible'] = $only_active;
|
||||
}
|
||||
|
||||
if ($request->filled('flight_id')) {
|
||||
|
||||
Reference in New Issue
Block a user