After deleting a node comment it redirects to homepage, while normally it should redirect to the same page. I am not sure should this be reported as a new feature request or bug report, to me it seems like a bug, because on the sites with many nodes and with node comments it will be very much confusing to delete any node comment and again to search for the same node page.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | nodecomment_delete_redirect.patch | 1.38 KB | quicksketch |
| #2 | nodecomment_delete_redirect.patch | 1.75 KB | quicksketch |
Comments
Comment #1
quicksketchI have a patch in-progress to be posted soon to correct this issue.
Comment #2
quicksketchHere's a patch which I've committed to the 2.x branch for Drupal 6. It changes the delete and edit links to redirect back to the original page (in case of pagered comments) and redirects to the parent node on delete if a destination is not specified.
Comment #3
quicksketchSorry that last one had a stray function name change. This one was committed.