From 14c8f6633d13ed94bcaab5ea572a46ace8687fbf Mon Sep 17 00:00:00 2001 From: Trevor Vallender Date: Mon, 4 Dec 2023 13:07:08 +0000 Subject: [PATCH] Only show active jobs when logging time Closes #2110 --- app/views/timelogs/_edit_form_bottom.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/timelogs/_edit_form_bottom.html.erb b/app/views/timelogs/_edit_form_bottom.html.erb index 26d93f5..6b6b059 100644 --- a/app/views/timelogs/_edit_form_bottom.html.erb +++ b/app/views/timelogs/_edit_form_bottom.html.erb @@ -1,3 +1,3 @@

<%= form.label :job_id %> -<%= form.collection_select :job_id, Job.project_or_parent(@project), :id, :name %> +<%= form.collection_select :job_id, Job.active.project_or_parent(@project), :id, :name %>