Add "whole word" column to some places it was missing

This commit is contained in:
Evan Summers 2025-08-08 21:06:36 +02:00
parent 66f2543228
commit 48c8b48df7
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ class Settings::ImportsController < Settings::BaseController
when :lists when :lists
csv << [row.data['list_name'], row.data['acct']] csv << [row.data['list_name'], row.data['acct']]
when :filters when :filters
csv << [row.data['title'], row.data['context'], row.data['keywords'], row.data['action'], row.data['expires_at']] csv << [row.data['title'], row.data['context'], row.data['keywords'], row.data['whole_word'], row.data['action'], row.data['expires_at']]
end end
end end
end end

View File

@ -114,7 +114,7 @@ class Form::Import
when :lists when :lists
['List name', 'Account address'] ['List name', 'Account address']
when :filters when :filters
['Title', 'Context', 'Keywords', 'Action', 'Expire after'] ['Title', 'Context', 'Keywords', 'Whole Word', 'Action', 'Expire after']
end end
end end