This commit is contained in:
albert
2013-02-24 12:19:41 -05:00
parent 1fb2c78348
commit b6f079568f
2 changed files with 2 additions and 2 deletions

View File

@@ -609,7 +609,7 @@ class Post < ActiveRecord::Base
else
count = get_count_from_cache(tags)
if count.nil? || count == 0
if count.to_i == 0
count = fast_count_search(tags)
end
end

View File

@@ -26,7 +26,7 @@
<%= link_to topic.title, forum_topic_path(topic) %>
<% if topic.response_count > Danbooru.config.posts_per_page %>
<%= link_to "last", forum_topic_path(topic, :page => topic.last_page), :class => "last-page" %>
<%= link_to "pg #{topic.last_page}", forum_topic_path(topic, :page => topic.last_page), :class => "last-page" %>
<% end %>
<% if topic.is_locked? %>