Ticket Information - ID: #1203
ID: | Category: | Severity | Reproducibility | Date Submitted | Updated By: |
---|---|---|---|---|---|
0001203 | Feature Request | High | N/A | 06/23/22 01:51PM | AngryZapdos |
|
|
Summary: | Add a function allowing mods to correct a tag's count |
Description: | Add a function that checks a tag's actual post count, then overwrites the recorded post count with the new count. |
Additional Info: | It would be useful if the mod tool could access this function to automatically update the counts for tags in mass edits. |
AngryZapdos replied at 2022-06-23 13:56:32 |
Alternatively, a site-wide function that does this automatically for all tags would be even better. https://github.com/danbooru/danbooru/blob/ae9495ec7c17243981fc341ddff6dcbe1c831c88/app/jobs/regenerate_post_counts_job.rb#L3 https://github.com/danbooru/danbooru/blob/ae9495ec7c17243981fc341ddff6dcbe1c831c88/app/models/tag.rb#L100 Danbooru uses this; perhaps we could too? |