fixes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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? %>
|
||||
|
||||
Reference in New Issue
Block a user