From 55d54cba742d1a7d432b1005ff7dd35b8a03caea Mon Sep 17 00:00:00 2001 From: Yanick Minder Date: Wed, 31 Jul 2024 11:40:18 +0200 Subject: [PATCH] reimplement placeholder in skills_search --- app/controllers/people_skills/filter_params.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/people_skills/filter_params.rb b/app/controllers/people_skills/filter_params.rb index 13b8c66af..ce5a4d971 100644 --- a/app/controllers/people_skills/filter_params.rb +++ b/app/controllers/people_skills/filter_params.rb @@ -40,7 +40,7 @@ def interest_of_row(row_id) end def skill_of_row(row_id) - skill_ids.nil? ? nil : skill_ids[row_id].to_i + skill_ids[row_id]&.to_i end def query_params