diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-09-24 20:29:08 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-09-24 20:29:08 -0500 |
commit | 3c1f1feef14ee9ea0a002010c927ac6556f00801 (patch) | |
tree | 1662912a68a9b4dc69362f9eb97dcfe4d0ea1806 /app | |
parent | 5be87e7625b5f181e5dd7d27d182f1c4056c7931 (diff) |
in custom filters, remove the `irreversible` flag (but report it as `true` to vanilladon clients) - our impl does not use this
Diffstat (limited to 'app')
-rw-r--r-- | app/serializers/rest/filter_serializer.rb | 4 | ||||
-rw-r--r-- | app/views/filters/_fields.html.haml | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/app/serializers/rest/filter_serializer.rb b/app/serializers/rest/filter_serializer.rb index f83d55577..b027e9cc1 100644 --- a/app/serializers/rest/filter_serializer.rb +++ b/app/serializers/rest/filter_serializer.rb @@ -7,4 +7,8 @@ class REST::FilterSerializer < ActiveModel::Serializer def id object.id.to_s end + + def irreversible + true + end end diff --git a/app/views/filters/_fields.html.haml b/app/views/filters/_fields.html.haml index 33c2ada31..27561c466 100644 --- a/app/views/filters/_fields.html.haml +++ b/app/views/filters/_fields.html.haml @@ -10,9 +10,6 @@ %hr.spacer/ .fields-group - = f.input :irreversible, wrapper: :with_label - -.fields-group = f.input :whole_word, wrapper: :with_label .fields-group |