-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pagination not showing in Post#index #42
Comments
Ended up with this:
|
This cache is not updating:
|
I figured out that removing the Moebooru::CacheHelper.get_version: def get_version(type = "post")
Rails.cache.read("#{type}_version")
end However, the per page gallery tag list on the left column on /post#index still doesn't show up. But pagination was the most important feature for me. |
The default cache store (file_store) behaves slightly differently. Should be fixed now. As for tag list on the left, default view only shows last one day uploaded posts' non-general tags. And cached for one hour. |
Fixed, I guess? |
I have 30 posts in DB and for my main
/post
page pagination is not showing. I assume, because ofPost.fast_count(tags)
return0
So I changed it to just
count = Post.count
and it works.The text was updated successfully, but these errors were encountered: