Closed (duplicate)
Project:
Internationalization
Version:
5.x-2.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Aug 2007 at 12:14 UTC
Updated:
30 Oct 2007 at 15:58 UTC
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
Comment #1
jose reyero commentedhttp://drupal.org/node/166187