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.

Comments

quicksketch’s picture

Version: 5.x-1.x-dev » 6.x-2.x-dev
Assigned: Unassigned » quicksketch

I have a patch in-progress to be posted soon to correct this issue.

quicksketch’s picture

Status: Active » Fixed
StatusFileSize
new1.75 KB

Here'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.

quicksketch’s picture

StatusFileSize
new1.38 KB

Sorry that last one had a stray function name change. This one was committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.