From ead13d4826a7ba1699d6bb310e58642b15687671 Mon Sep 17 00:00:00 2001 From: "Pia B." Date: Fri, 5 Jun 2026 18:02:20 +0200 Subject: [PATCH] fix naming of custom filter export param (#39304) --- app/models/export.rb | 2 +- spec/requests/settings/exports/custom_filters_spec.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/models/export.rb b/app/models/export.rb index 94b2753375..2b92dc6200 100644 --- a/app/models/export.rb +++ b/app/models/export.rb @@ -62,7 +62,7 @@ class Export data_collection[:custom_filters] << { title: filter.title, - expire_at: filter.expires_at, + expires_at: filter.expires_at, context: filter.context, action: filter.action, keywords_attributes: keywords_attributes, diff --git a/spec/requests/settings/exports/custom_filters_spec.rb b/spec/requests/settings/exports/custom_filters_spec.rb index c9c7645ddb..df5bbfdd03 100644 --- a/spec/requests/settings/exports/custom_filters_spec.rb +++ b/spec/requests/settings/exports/custom_filters_spec.rb @@ -17,7 +17,7 @@ RSpec.describe 'Settings / Exports / CustomFilters' do { 'custom_filters' => [ { 'title' => other_filter.phrase, - 'expire_at' => nil, + 'expires_at' => nil, 'context' => other_filter.context, 'action' => other_filter.action, 'keywords_attributes' => [{ @@ -31,7 +31,7 @@ RSpec.describe 'Settings / Exports / CustomFilters' do }, { 'title' => filter.phrase, - 'expire_at' => nil, + 'expires_at' => nil, 'context' => filter.context, 'action' => filter.action, 'keywords_attributes' => [{