diff options
author | ThibG <thib@sitedethib.com> | 2020-09-01 13:31:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-01 13:31:28 +0200 |
commit | 79305428a7c2bda311bc9d367a84acc28f569522 (patch) | |
tree | 2094941006afa438c0244c6721836018b6fbd3b4 /app/serializers | |
parent | 1c308af84cddf8491b11aa6431c225faa80a9a5b (diff) |
Add configuration option to filter replies in lists (#9205)
* Add database support for list show-reply preferences * Add backend support to read and update list-specific show_replies settings * Add basic UI to set list replies setting * Add specs for list replies policy * Switch "cycling" reply policy link to a set of radio inputs * Capitalize replies_policy strings * Change radio button design to be consistent with that of the directory explorer
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/rest/list_serializer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/rest/list_serializer.rb b/app/serializers/rest/list_serializer.rb index 977da7439..3e87f7119 100644 --- a/app/serializers/rest/list_serializer.rb +++ b/app/serializers/rest/list_serializer.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class REST::ListSerializer < ActiveModel::Serializer - attributes :id, :title + attributes :id, :title, :replies_policy def id object.id.to_s |