Bug Reports · Legacy archive
Deleted comments still count when "Show 20 last comments" is clicked
-
Deleted comments still count when "Show 20 last comments" is clicked
#1As an admin I delete all the jun... ehhhr, unneeded posts that I find. Lately a small number of spam posts made me notice a strange system quirk: Whenever I delete a comment, the post it commented on is still listed on top of the last comment list. -
Re: Deleted comments still count when "Show 20 last comments" is clicked
#2Ah, yes, that last comment list is ran off a variable inputted in the actual submission. When you delete a comment it doesn't update the submission date. Will have to run another query to find the last submission, get that date, then reupdate the submission last comment variable. It saves a query during the index page load which is why I store it with the submission.
Will add it to my bug list as it is just an extra query when something is deleted and no big deal.
((Are you still losing XP?)) -
Re: Deleted comments still count when "Show 20 last comments" is clicked
#3No -
Re: Deleted comments still count when "Show 20 last comments" is clicked
#4This does explain why some things are getting in the Recent comment pile, but not having any comments. -
Re: Deleted comments still count when "Show 20 last comments" is clicked
#5I do believe I have fixed this one finally.
Let me know.