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