Ctools' pane for comments display does not contain the db_rewrite_sql that core's comment_render does. I need this in order to add some custom access rules for individual comment display.

Attached patch brings db_rewrite_sql to ctools_comment_render and is working for me.

CommentFileSizeAuthor
comments-rewrite.patch3.17 KBJody Lynn
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

merlinofchaos’s picture

Version: 6.x-1.2 » 7.x-1.x-dev
Category: feature » bug
Status: Needs review » Patch (to be ported)

Committed to D6. This probably counts as a bug. Marking for port to D7, which needs to include a check to make sure it still matches core after changes.

merlinofchaos’s picture

Status: Patch (to be ported) » Closed (fixed)

All of the 'to be ported' patches got merged in during the porting sprint in September.