Skip to content

Commit

Permalink
fix: only show active controllers in autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
blt950 committed Oct 13, 2023
1 parent 3821ec1 commit 7a28ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/FeedbackController.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function create()
}

$positions = Position::all();
$controllers = User::all();
$controllers = User::where('atc_active', true)->get();

return view('feedback.create', compact('positions', 'controllers'));
}
Expand Down

0 comments on commit 7a28ef9

Please sign in to comment.