fixes for tag_query_limit

This commit is contained in:
albert
2013-02-20 10:20:41 -05:00
parent f864272763
commit 46d1d3db59
3 changed files with 5 additions and 5 deletions

View File

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