Hi - I think I found a bug on the Translations listing page at admin/content/translation. I was finding that the translation filters (source/translation language and status) were working fine, but the node filters were having no effect. I did some digging and found the cause of the problem, in translation.module at line 521:

$where += array(str_replace('WHERE', '', $filter['where']));

Somehow this was failing to add the node filters to the generated SQL. I changed that line to look like this and it is now working fine:

$where[] = str_replace('WHERE ', '', $filter['where']);

Hope this helps someone...

CommentFileSizeAuthor
#2 translation.module.diff514 bytesbartezz

Comments

bartezz’s picture

Bug confirmed...
Code by phenaproxima working!

Thanx

bartezz’s picture

StatusFileSize
new514 bytes

Diff attached

bartezz’s picture

EDIT: sorry, something went wrong in post... attachment in previous post.

R.Hendel’s picture

Status: Active » Closed (won't fix)

Deprecated - D5 is no longer supported.

bartezz’s picture

Lol, I guess after more than 2 years it became deprecated yes... thanx for the quick response :)