From 5b98c1ba42a59607bb57a370fc69a779a340f3a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20H=C3=A4drich?= <11225821+shaedrich@users.noreply.github.com> Date: Sun, 22 Jun 2025 02:04:56 +0200 Subject: [PATCH] Pass pre-filled URL query params to keywords association build to be pre-filled into the creation form --- app/controllers/filters_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/filters_controller.rb b/app/controllers/filters_controller.rb index 769aea2afe..fc612dc93f 100644 --- a/app/controllers/filters_controller.rb +++ b/app/controllers/filters_controller.rb @@ -12,7 +12,7 @@ class FiltersController < ApplicationController def new @filter = current_account.custom_filters.build(action: :warn) - @filter.keywords.build + @filter.keywords.build(params[:keywords]) end def edit; end