Hi @ll,

First excuse my English is not very good.

Working on my first project with Symfony and Doctrine.

I need help with the backend application.

I have an object (car) that has a table associated language (i18n,
car_translation).

I ride a list showing the "name" found in the language table using the
solution that offers Jobeet:

- In apps/backend/modules/car/config/generator.yml:
config:
 list:
   table_method: retrieveBackendCarList

- And in lib/model/doctrine/CarTable.class.php:
/*
 * BACKEND LIST
 */
public function retrieveBackendArtists(Doctrine_Query $q)
{
 $rootAlias = $q->getRootAlias();
 $q->leftJoin($rootAlias . '.Translation t')
    ->where('t.lang = ?', 'es');
 return $q;
}

But what happens then is that when riding the listing does not give me
the
option of ordering by the "name".

Do you know how to solve this?

I have to move it urgently.

Thank you very much for the contributions and greetings.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to