From dcdb550cf19c9cb6ee80b24c404c918270b22406 Mon Sep 17 00:00:00 2001 From: albert Date: Sun, 24 Feb 2013 00:04:03 -0500 Subject: [PATCH] fix fast_count --- app/models/post.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/post.rb b/app/models/post.rb index 2450d03e6..eca7f3de8 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -605,7 +605,7 @@ class Post < ActiveRecord::Base if tags.blank? && Danbooru.config.blank_tag_search_fast_count count = Danbooru.config.blank_tag_search_fast_count elsif tags =~ /(?:#{Tag::METATAGS}):/ - fast_count_search(tags) + count = fast_count_search(tags) else count = get_count_from_cache(tags)