silverstripe-comments
silverstripe-comments copied to clipboard
Content in New, Spam and Approved tabs doesn't update after XHR requests
SS 4.1
If I go to the "Approved" tab and click to mark one of the items in the GridField as spam then the pane reloads, but the GridField contents within each tab are unchanged. This means that when you "spam" or "approve" a set of comments that they disappear until you reload the window, in which case they're in the correct GridField again.
Note: issue has changed, updated the original
Example - three comments that are "spam":
Select one and set as approved:
While the original record has disappeared from the "spam" GridField, it doesn't show up under Approved yet:
Also note that the count of comments in the tab titles haven't updated either, but this is a pre-existing issue which is already logged as #188