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

[#59765] removed searchable configuration for hierarchies

Eric Schuberteef412043b0d
diff --git a/app/forms/custom_fields/details_form.rb b/app/forms/custom_fields/details_form.rb
index 096d55ced7d..a73381e8cd3 100644
--- a/app/forms/custom_fields/details_form.rb
+++ b/app/forms/custom_fields/details_form.rb
@@ -61,12 +61,6 @@ module CustomFields
caption: I18n.t("custom_fields.instructions.is_filter")
)
- details_form.check_box(
- name: :searchable,
- label: I18n.t("activerecord.attributes.custom_field.searchable"),
- caption: I18n.t("custom_fields.instructions.searchable")
- )
-
details_form.submit(name: :submit, label: I18n.t(:button_save), scheme: :default)
end
end
diff --git a/lib/open_project/custom_field_format_dependent.rb b/lib/open_project/custom_field_format_dependent.rb
index ef4c63ae94d..0843c97f3f5 100644
--- a/lib/open_project/custom_field_format_dependent.rb
+++ b/lib/open_project/custom_field_format_dependent.rb
@@ -37,7 +37,7 @@ module OpenProject
multiSelect: [:only, %w[list user version hierarchy]],
possibleValues: [:only, %w[list]],
regexp: [:except, %w[list bool date user version hierarchy]],
- searchable: [:except, %w[bool date float int user version]],
+ searchable: [:except, %w[bool date float int user version hierarchy]],
textOrientation: [:only, %w[text]],
enterpriseBanner: [:only, %w[hierarchy]]
}.freeze