mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
FIX: New badges ended up with no grouping
This commit is contained in:
parent
233aa2ab2f
commit
0346efd0d5
1 changed files with 2 additions and 0 deletions
|
@ -325,6 +325,7 @@ end
|
|||
b.default_icon = "fa-heart"
|
||||
b.badge_type_id = level
|
||||
b.query = Badge::Queries.liked_back(count, ratio)
|
||||
b.badge_grouping_id = BadgeGrouping::Community
|
||||
b.default_badge_grouping_id = BadgeGrouping::Community
|
||||
b.trigger = Badge::Trigger::None
|
||||
b.auto_revoke = false
|
||||
|
@ -345,6 +346,7 @@ end
|
|||
b.default_icon = "fa-heart"
|
||||
b.badge_type_id = level
|
||||
b.query = Badge::Queries.like_rate_limit(count)
|
||||
b.badge_grouping_id = BadgeGrouping::Community
|
||||
b.default_badge_grouping_id = BadgeGrouping::Community
|
||||
b.trigger = Badge::Trigger::None
|
||||
b.auto_revoke = false
|
||||
|
|
Loading…
Reference in a new issue