diff options
author | ThibG <thib@sitedethib.com> | 2018-07-09 02:22:09 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-07-09 02:22:09 +0200 |
commit | 1ca4e51eb38de6de81cedf3ddcdaa626f1d1c569 (patch) | |
tree | 3cf44ef95b178d233fd34d2ec2aae2a7021c159d /app/serializers | |
parent | 451e585b9720c61ef9a155a16484b25ded79d512 (diff) |
Add option to not consider word boundaries when processing keyword filtering (#7975)
* Add option to not consider word boundaries when filtering phrases * Add a few tests for keyword/phrase filtering
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/rest/filter_serializer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/rest/filter_serializer.rb b/app/serializers/rest/filter_serializer.rb index 51340aa79..3134be371 100644 --- a/app/serializers/rest/filter_serializer.rb +++ b/app/serializers/rest/filter_serializer.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true class REST::FilterSerializer < ActiveModel::Serializer - attributes :id, :phrase, :context, :expires_at, + attributes :id, :phrase, :context, :whole_word, :expires_at, :irreversible end |