fix naming of custom filter export param (#39304)
This commit is contained in:
parent
b3a40bb010
commit
ead13d4826
@ -62,7 +62,7 @@ class Export
|
|||||||
|
|
||||||
data_collection[:custom_filters] << {
|
data_collection[:custom_filters] << {
|
||||||
title: filter.title,
|
title: filter.title,
|
||||||
expire_at: filter.expires_at,
|
expires_at: filter.expires_at,
|
||||||
context: filter.context,
|
context: filter.context,
|
||||||
action: filter.action,
|
action: filter.action,
|
||||||
keywords_attributes: keywords_attributes,
|
keywords_attributes: keywords_attributes,
|
||||||
|
|||||||
@ -17,7 +17,7 @@ RSpec.describe 'Settings / Exports / CustomFilters' do
|
|||||||
{ 'custom_filters' => [
|
{ 'custom_filters' => [
|
||||||
{
|
{
|
||||||
'title' => other_filter.phrase,
|
'title' => other_filter.phrase,
|
||||||
'expire_at' => nil,
|
'expires_at' => nil,
|
||||||
'context' => other_filter.context,
|
'context' => other_filter.context,
|
||||||
'action' => other_filter.action,
|
'action' => other_filter.action,
|
||||||
'keywords_attributes' => [{
|
'keywords_attributes' => [{
|
||||||
@ -31,7 +31,7 @@ RSpec.describe 'Settings / Exports / CustomFilters' do
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
'title' => filter.phrase,
|
'title' => filter.phrase,
|
||||||
'expire_at' => nil,
|
'expires_at' => nil,
|
||||||
'context' => filter.context,
|
'context' => filter.context,
|
||||||
'action' => filter.action,
|
'action' => filter.action,
|
||||||
'keywords_attributes' => [{
|
'keywords_attributes' => [{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user