ezsystems/ezflow — pull request #60 by yannickroger (2014-01-03 10:53:36+00:00)
Title: Fix EZP-22118: Valid nodes must take translation into account.

Link: https://jira.ez.no/browse/EZP-22118

## Description
Displayed nodes were not taking translations into account.

That would cause null object to be loaded (with `$asObject = true `) which ended up displaying empty lines. If used with `$asObject = false ` it would return a list of nodes that had object with no translation in this language.

This fixes the problem and also replaces:
``` sql
SELECT *
```
by
``` sql
SELECT ezm_pool.node_id
```
Since we added another join and only node_id is used anyways.

## Tests
Manuel tests