config: remove enable_post_search_counts option.

Enable by default if reportbooru is configured, otherwise disable.
This commit is contained in:
evazion
2020-06-02 14:41:06 -05:00
parent ed41fd77e5
commit 63f675b7d6
3 changed files with 8 additions and 10 deletions

View File

@@ -49,7 +49,7 @@
<%= render "posts/partials/common/secondary_links" %>
<% end %>
<% if post_search_counts_enabled? && @post_set.query.is_simple_tag? && @post_set.current_page == 1 %>
<% if @post_set.query.is_simple_tag? && @post_set.current_page == 1 %>
<% if @post_set.post_count == 0 %>
<%= missed_post_search_count_js(@post_set.query.to_s) %>
<% else %>