change privileged accounts to gold accounts, add platinum accounts, add favorite and tag query limiting based on level

This commit is contained in:
albert
2013-02-20 00:02:43 -05:00
parent 8fb20c6b3a
commit 66fc05e30b
9 changed files with 63 additions and 12 deletions

View File

@@ -36,7 +36,7 @@ module PostSetPresenters
end
def pattern_tags
Tag.name_matches(post_set.tag_string).all(:select => "name", :limit => Danbooru.config.tag_query_limit, :order => "post_count DESC").map(&:name)
Tag.name_matches(post_set.tag_string).all(:select => "name", :limit => CurrentUser.tag_query_limit, :order => "post_count DESC").map(&:name)
end
def related_tags_for_group