fix post set bug, fixes #768

This commit is contained in:
albert
2013-03-05 19:45:27 -05:00
parent 29e3e7be0e
commit a98af2f19a
3 changed files with 3 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ module PostSets
end
@posts ||= begin
::Post.tag_match(tag_string).paginate(page, :count => ::Post.fast_count(tag_string), :limit => per_page)
temp = ::Post.tag_match(tag_string).paginate(page, :count => ::Post.fast_count(tag_string), :limit => per_page)
temp.all
temp
end