This can add a permanent filter , but the optional filter are losing

  public function executeIndex(sfWebRequest $request)
  {
    //filtro permanente en action index
    $this->filters = $this->configuration->getFilterForm($this-
>getFilters());
    $this->filters->bind($request->getParameter($this->filters->getName
()));
    if ($this->filters->isValid())
    {
      $params = array( "materia_id" => 1 );
      $this->setFilters(array_merge($this->filters->getValues(),
$params));
    }

    return parent::executeIndex($request);
  }

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to