2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

FIX: categories page would sometimes show no topics, even if there are some visible topics to show

This commit is contained in:
Neil Lalonde 2015-09-21 15:14:05 -04:00
parent 6e384cd4c7
commit 2ae032c9b0
3 changed files with 14 additions and 5 deletions

View file

@ -44,7 +44,7 @@ class TopicQuery
def initialize(user=nil, options={})
options.assert_valid_keys(VALID_OPTIONS)
@options = options
@options = options.dup
@user = user
end