Skip to content
Snippets Groups Projects
Unverified Commit d116cb77 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Fix `GET /api/v1/trends/tags` missing `offset` param in REST API (#17973)

parent 04b4b541
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ class Api::V1::Trends::TagsController < Api::BaseController
def set_tags
@tags = begin
if Setting.trends
Trends.tags.query.allowed.limit(limit_param(DEFAULT_TAGS_LIMIT))
Trends.tags.query.allowed.offset(offset_param).limit(limit_param(DEFAULT_TAGS_LIMIT))
else
[]
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment