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

Convert to string to correctly check with the url params

Henriette Darge662856b5afca
diff --git a/app/menus/notifications/menu.rb b/app/menus/notifications/menu.rb
index 4d4fa09ce49..5488c610d32 100644
--- a/app/menus/notifications/menu.rb
+++ b/app/menus/notifications/menu.rb
@@ -108,7 +108,7 @@ module Notifications
end
def selected?(query_params)
- params[:filter] == query_params[:filter] && params[:name] == query_params[:name]
+ params[:filter] == query_params[:filter] && params[:name] == query_params[:name].to_s
end
def query_path(query_params)