discourse/app/serializers
Vinoth Kannan 33eae4cbd8
FEATURE: add period filter in top topics route for tags. (#13415)
And also move all the "top topics by period" routes to query string param.

/top/monthly => /top?period=monthly
/c/:slug/:id/l/top/monthly => /c/:slug/:id/l/top?period=monthly
/tag/:slug/l/top/daily => /tag/:slug/l/top?period=daily (new)
2021-07-06 15:25:11 +05:30
..
concerns
about_serializer.rb
admin_badge_serializer.rb
admin_badges_serializer.rb
admin_detailed_user_serializer.rb
admin_email_template_serializer.rb
admin_plugin_serializer.rb
admin_user_action_serializer.rb
admin_user_list_serializer.rb
admin_user_serializer.rb
admin_web_hook_event_serializer.rb
admin_web_hook_serializer.rb
api_key_scope_serializer.rb
api_key_serializer.rb
application_serializer.rb
archetype_serializer.rb
auth_provider_serializer.rb
backup_file_serializer.rb
badge_grouping_serializer.rb
badge_index_serializer.rb
badge_serializer.rb
badge_type_serializer.rb
basic_category_serializer.rb
basic_group_history_serializer.rb
basic_group_serializer.rb
basic_group_user_serializer.rb
basic_post_serializer.rb
basic_topic_serializer.rb
basic_user_badge_serializer.rb
basic_user_serializer.rb
category_and_topic_lists_serializer.rb
category_detailed_serializer.rb
category_group_serializer.rb
category_list_serializer.rb
category_serializer.rb
category_upload_serializer.rb
color_scheme_color_serializer.rb
color_scheme_selectable_serializer.rb
color_scheme_serializer.rb
current_user_serializer.rb
detailed_tag_serializer.rb
detailed_user_badge_serializer.rb
directory_column_serializer.rb
directory_item_serializer.rb
discourse_version_check_serializer.rb
draft_serializer.rb
edit_directory_column_serializer.rb
email_log_serializer.rb
email_style_serializer.rb
embeddable_host_serializer.rb
embedding_serializer.rb
emoji_serializer.rb
flagged_topic_serializer.rb
flagged_topic_summary_serializer.rb
flagged_user_serializer.rb
gap_serializer.rb
group_post_serializer.rb
group_post_user_serializer.rb
group_requester_serializer.rb
group_show_serializer.rb
group_user_serializer.rb
grouped_screened_url_serializer.rb
grouped_search_result_serializer.rb
hidden_profile_serializer.rb
incoming_email_details_serializer.rb
incoming_email_serializer.rb
invite_link_serializer.rb
invite_serializer.rb
invited_serializer.rb
invited_user_record_serializer.rb
invited_user_serializer.rb
listable_topic_serializer.rb
new_post_result_serializer.rb
notification_serializer.rb
penalty_counts_serializer.rb
permalink_serializer.rb
post_action_type_serializer.rb
post_action_user_serializer.rb
post_item_excerpt.rb
post_revision_serializer.rb
post_serializer.rb
post_stream_serializer_mixin.rb
post_wordpress_serializer.rb
poster_serializer.rb
primary_group_serializer.rb
published_page_serializer.rb
queued_post_serializer.rb
reviewable_action_serializer.rb
reviewable_bundled_action_serializer.rb
reviewable_conversation_post_serializer.rb
reviewable_conversation_serializer.rb
reviewable_editable_field_serializer.rb
reviewable_explanation_serializer.rb
reviewable_flagged_post_serializer.rb
reviewable_history_serializer.rb
reviewable_perform_result_serializer.rb
reviewable_post_serializer.rb
reviewable_queued_post_serializer.rb
reviewable_score_explanation_serializer.rb
reviewable_score_serializer.rb
reviewable_score_type_serializer.rb
reviewable_serializer.rb
reviewable_settings_serializer.rb
reviewable_topic_serializer.rb
reviewable_user_serializer.rb
screened_email_serializer.rb
screened_ip_address_serializer.rb
screened_url_serializer.rb
search_logs_serializer.rb
search_post_serializer.rb
search_result_user_serializer.rb
search_topic_list_item_serializer.rb
similar_topic_serializer.rb
single_sign_on_record_serializer.rb
site_category_serializer.rb
site_serializer.rb
site_text_serializer.rb
skipped_email_log_serializer.rb
suggested_topic_serializer.rb
suggested_topics_mixin.rb
tag_group_serializer.rb
tag_serializer.rb
theme_serializer.rb
theme_settings_serializer.rb
theme_translation_serializer.rb
topic_embed_serializer.rb
topic_flag_type_serializer.rb
topic_link_serializer.rb
topic_list_item_serializer.rb
topic_list_serializer.rb
topic_pending_post_serializer.rb
topic_post_count_serializer.rb
topic_poster_serializer.rb
topic_timer_serializer.rb
topic_tracking_state_serializer.rb
topic_view_details_serializer.rb
topic_view_posts_serializer.rb
topic_view_serializer.rb
topic_view_wordpress_serializer.rb
trust_level3_requirements_serializer.rb
upload_serializer.rb
user_action_serializer.rb
user_auth_token_serializer.rb
user_badge_serializer.rb
user_badges_serializer.rb
user_bookmark_list_serializer.rb
user_bookmark_serializer.rb
user_card_serializer.rb
user_field_serializer.rb
user_history_serializer.rb
user_name_serializer.rb
user_option_serializer.rb
user_serializer.rb
user_summary_serializer.rb
user_with_custom_fields_serializer.rb
user_wordpress_serializer.rb
watched_word_list_serializer.rb
watched_word_serializer.rb
web_hook_category_serializer.rb
web_hook_flag_serializer.rb
web_hook_group_serializer.rb
web_hook_group_user_serializer.rb
web_hook_like_serializer.rb
web_hook_post_serializer.rb
web_hook_topic_view_serializer.rb
web_hook_user_serializer.rb
wizard_field_choice_serializer.rb
wizard_field_serializer.rb
wizard_serializer.rb
wizard_step_serializer.rb