Me autorespondo, lo que he hecho es lo siguiente:
function buildCriteria()
{
$criteria = parent::buildCriteria();
$criteria->add(EdicionImagenPeer::EDICION_ID,$this->getRequestParameter("edicion"));
return $criteria;
}
Me parece un poco engorroso de esta forma, estar sobrescribiendo
buildCriteria()...
Alguna idea?
2009/7/28 yo <[email protected]>
>
> Tengo el mismo problema, debe ser un problema de versiones.
>
> Me interesaba un link_to a un módulo que me diese sólo los articulos
> con un
> autor_id en concreto.
>
> A seguir investigando...
>
> On 16 jul, 10:56, Ken Golovin <[email protected]> wrote:
> > Hi,
> >
> > I am to trying to do a redirect from one module to another's list
> > action, and add a filter to the url of the second module, however the
> > filters don't have any effect.
> >
> > Here is my code:
> >
> > $this->redirect('feed/index?filter=filter&filters[owner_id]=' . $this-
> >
> > >getRequestParameter('id'));
> >
> > This redirect then goes to /import_dev.php/feed?filter=filter&filters
> > [owner_id]=2, however filters[owner_id] does not filter the results,
> > as I can see all Feeds, not only where owner_id=2.
> >
> > Is there something I am missing here?
> >
> > Thanks
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---