#1140: Use fast reltag calculation for subquery metatags

This commit is contained in:
Toks
2013-12-09 12:14:56 -05:00
parent 8641509deb
commit 9f1df439a6
2 changed files with 3 additions and 0 deletions

View File

@@ -15,6 +15,8 @@ module PostSetPresenters
post_set.tag_subscription_tags
elsif post_set.is_single_tag?
related_tags_for_single
elsif post_set.tag_string =~ /(?:^|\s)(?:#{Tag::SUBQUERY_METATAGS}):\S+/
calculate_related_tags_from_post_set
elsif post_set.is_empty_tag?
popular_tags
else