Fix up the displayed rank for trending hashtags.

row_number() window function counts starting from 1.
pull/34016/head
Darren VanBuren 2 days ago
parent ebde60ca82
commit e64b7f00b5

@ -13,7 +13,7 @@
- if tag.trendable?
·
%abbr{ title: t('admin.trends.tags.current_score', score: tag.trend.score) }= t('admin.trends.tags.trending_rank', rank: tag.trend.rank + 1)
%abbr{ title: t('admin.trends.tags.current_score', score: tag.trend.score) }= t('admin.trends.tags.trending_rank', rank: tag.trend.rank)
- if tag.decaying?
·

Loading…
Cancel
Save