I am using panels to create a node page (topic) for my content type (forum). In that page, I added the list of comments and below that, the comment form.

When I post a comment, it redirects me to the comment succesfully but if the comment is in a different page (not the first) then there is not a correct redirect.

Query 'page' is missing.

Example:

After a new comment is added, it redirects to: http://www.example.com/node/100#comment-249
But if I use a pager to limit 20 comments per page and a comment is added in the 4th page for example, the redirect is still as above. The correct would be http://www.example.com/node/100?page=4#comment-249

The core comment.module works ok.

Comments

Do you need anymore information?

Project:Panels» Chaos tool suite (ctools)
Version:7.x-3.3» 7.x-1.3
Component:Miscellaneous» Plugins system

Updated the project since this have to do with Ctools. Also updated my issue above.

Here is the problem:

Path: sites/all/modules/ctools/plugins/content_types/node_context/node_comment_form.inc
Line: 95

function ctools_node_comment_form_submit(&$form, &$form_state) {
  $form_state['redirect'][0] = $_GET['q'];
}

Component:Plugins system» Code

Anyone? I posted this issue on June 25, 2013 and no one replied.

It's important and an easy fix but i don't have the knowledge to do it. Can someone help?

Priority:Normal» Major

Issue summary:View changes

Made things clear

bumb