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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
[#62386] Project attribute list entries not displayed when applied as filter in project list
Dombi Attila137875b9c110
diff --git a/app/components/filter/filter_component.rb b/app/components/filter/filter_component.rbindex 4b2d0291e6a..dcffb71827f 100644--- a/app/components/filter/filter_component.rb+++ b/app/components/filter/filter_component.rb@@ -100,7 +100,7 @@ module Filter{ items: filter.allowed_values.map { |name, id| { name:, id: } } }end- autocomplete_options.merge(options).merge(model: filter.values)+ autocomplete_options.merge(options)enddef list_autocomplete_options(filter)diff --git a/app/views/filters/_autocomplete.html.erb b/app/views/filters/_autocomplete.html.erbindex 840ebb66ba5..27c183362d7 100644--- a/app/views/filters/_autocomplete.html.erb+++ b/app/views/filters/_autocomplete.html.erb@@ -11,6 +11,7 @@multiple: true,multipleAsSeparateInputs: false,inputValue: filter.values,+ model: filter.values,appendTo: "body",id: "#{filter.name}_value",hiddenFieldAction: "change->filter--filters-form#autocompleteSendForm"@@ -19,6 +20,5 @@# the action can't be registered on the input field at the time# of the #connect lifecycle hook of the filter--filters-form# Stimulus controller.- }.merge(autocomplete_options.except(:component))- %>+ }.merge(autocomplete_options.except(:component)) %><% end %>