After upgrading from Drupal 5.1 to 5.2 the internationalized comment block doesn't work anymore. I've found out that it has something to do with this change in the comment module:
- http://drupal.org/node/111830

In comment module this does not work together with the current i18n:

$result = db_query_range(db_rewrite_sql("SELECT nc.nid FROM {node_comment_statistics} nc WHERE nc.comment_count > 0 ORDER BY nc.last_comment_timestamp DESC", 'nc'), 0, $number);

While this (the former line in comment.module) does work together with the current i18n:

$result = db_query_range(db_rewrite_sql("SELECT n.nid FROM {node_comment_statistics} n WHERE n.comment_count > 0 ORDER BY n.last_comment_timestamp DESC"), 0, $number);

However, I'm not sure where it should be corrected: in comment.module or in one of the i18n modules.

Cheers,
Marc

Comments

jose reyero’s picture

Status: Active » Closed (duplicate)