fixes #450
This commit is contained in:
@@ -3,7 +3,7 @@ module PostSets
|
||||
def initialize(params)
|
||||
# don't call super because we don't want to repeat these queries
|
||||
@tag_array = Tag.scan_query(params[:tags])
|
||||
@page = params[:page]
|
||||
@page = params[:page] || 1
|
||||
@posts = ::Post.tag_match(tag_string).has_notes.paginate(page)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user