This website works better with JavaScript.
Home
Explore
Sign In
miteruzo
/
btrc-hub
Watch
1
Star
0
Fork
0
Code
Issues
69
Pull Requests
1
Releases
0
Wiki
Activity
Browse Source
#282
feature/282
みてるぞ
2 weeks ago
parent
696e4a0098
commit
6ef7310c2d
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
backend/app/models/tag.rb
+ 1
- 1
backend/app/models/tag.rb
View File
@@ -165,7 +165,7 @@ class Tag < ApplicationRecord
tag_name.update!(canonical: target_tag.tag_name)
end
# 再集計
#
投稿件数を
再集計
target_tag.update_columns(post_count: PostTag.kept.where(tag: target_tag).count)
end
Write
Preview
Loading…
Cancel
Save