about summary refs log tree commit diff
path: root/app/controllers/tags_controller.rb
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-07-15 16:56:33 +0200
committerGitHub <noreply@github.com>2020-07-15 16:56:33 +0200
commit37c092e9fdedd36c167e4b84610e7346c446e1d3 (patch)
tree88992f2d65c83ece4e93f0b4b5c34ffed0989138 /app/controllers/tags_controller.rb
parent7a23347db5be3f262dbcafbecf768588dc648bda (diff)
parent470458da13586db0e6ca074987fecfc80293d955 (diff)
Merge pull request #1382 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/controllers/tags_controller.rb')
-rw-r--r--app/controllers/tags_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/tags_controller.rb b/app/controllers/tags_controller.rb
index e46c0532c..69db89eb3 100644
--- a/app/controllers/tags_controller.rb
+++ b/app/controllers/tags_controller.rb
@@ -28,7 +28,7 @@ class TagsController < ApplicationController
         expires_in 0, public: true
 
         limit     = params[:limit].present? ? [params[:limit].to_i, PAGE_SIZE_MAX].min : PAGE_SIZE
-        @statuses = HashtagQueryService.new.call(@tag, filter_params, nil, @local).limit(PAGE_SIZE)
+        @statuses = HashtagQueryService.new.call(@tag, filter_params, nil, @local).limit(limit)
         @statuses = cache_collection(@statuses, Status)
 
         render xml: RSS::TagSerializer.render(@tag, @statuses)