Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

correct filter search depending on object and add wrapper for dialog

Klaus Zandersde763393bcd1
diff --git a/modules/costs/app/components/time_entries/time_entry_form.rb b/modules/costs/app/components/time_entries/time_entry_form.rb
index f7291a1e3de..b1915ef3f94 100644
--- a/modules/costs/app/components/time_entries/time_entry_form.rb
+++ b/modules/costs/app/components/time_entries/time_entry_form.rb
@@ -23,6 +23,10 @@ module TimeEntries
render_custom_fields(form: f)
end
+ def additional_custom_field_input_arguments
+ { wrapper_id: "time-entry-dialog" }
+ end
+
private
delegate :project, :work_package, to: :model