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
[33677] Let boolean CF filters be kind of BooleanFilter
Oliver Güntherba2cd45fb8fd
diff --git a/app/models/queries/filters/shared/custom_fields/bool.rb b/app/models/queries/filters/shared/custom_fields/bool.rbindex a4b43a14ed3..7343a4eaa72 100644--- a/app/models/queries/filters/shared/custom_fields/bool.rb+++ b/app/models/queries/filters/shared/custom_fields/bool.rb@@ -33,22 +33,7 @@ require_relative 'base'module Queries::Filters::Sharedmodule CustomFieldsclass Bool < Base- def allowed_values- [- [I18n.t(:general_text_yes), OpenProject::Database::DB_VALUE_TRUE],- [I18n.t(:general_text_no), OpenProject::Database::DB_VALUE_FALSE]- ]- end-- def type- :list- end-- protected-- def type_strategy_class- ::Queries::Filters::Strategies::BooleanList- end+ include Queries::Filters::Shared::BooleanFilterendendend