Fix PIREPs not showing in admin

This commit is contained in:
Nabeel Shahzad
2018-05-11 13:43:33 -05:00
parent 9ca8825868
commit 3f1bb26ee5
2 changed files with 20 additions and 14 deletions

View File

@@ -191,7 +191,7 @@ class PirepController extends Controller
$this->pirepRepo->pushCriteria($criterea);
$pireps = $this->pirepRepo
->whereNotInOrder('status', [
->whereNotInOrder('state', [
PirepState::CANCELLED,
PirepState::DRAFT,
PirepState::IN_PROGRESS