fix bug with tag query limit

This commit is contained in:
albert
2013-02-23 16:21:48 -05:00
parent 403db4cc2f
commit 35c35e4af0

View File

@@ -231,7 +231,7 @@ class Tag < ActiveRecord::Base
}
scan_query(query).each do |token|
q[:tag_count] += 1
q[:tag_count] += 1 unless token == "status:deleted"
if token =~ /\A(#{METATAGS}):(.+)\Z/
case $1