silverstripe-comments icon indicating copy to clipboard operation
silverstripe-comments copied to clipboard

Content in New, Spam and Approved tabs doesn't update after XHR requests

Open robbieaverill opened this issue 6 years ago • 2 comments

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":

image

Select one and set as approved:

image

While the original record has disappeared from the "spam" GridField, it doesn't show up under Approved yet:

image

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

robbieaverill avatar Dec 18 '17 01:12 robbieaverill