Not sure, but before the update this code was working

    $this->pager = new sfDoctrinePager($this->getModelName());
    $this->pager->setPage($this->getOption('page'));

    $query = $this->pager->getQuery();

    $this->pager->setQuery($this->buildQuery($query));
    $this->pager->setMaxPerPage($this->getOption('per_page', 25));
    $this->pager->init();

But not anymore as the tableMethodName is not defined automatically or there
is no 'default'
as it was here :
http://trac.symfony-project.org/changeset/14108/branches/1.2/lib/plugins/sfDoctrinePlugin/lib/pager/sfDoctrinePager.class.php

On Thu, Jan 15, 2009 at 7:44 PM, Jonathan Wage <[email protected]> wrote:

> Do we have a ticket created for this?
>
> - Jon
>
>
> On Thu, Jan 15, 2009 at 12:37 PM, Thomas Rabaix 
> <[email protected]>wrote:
>
>> It look to me there is a regression when adding a new feature to the
>> sfDoctrinePager, if the tableMethodName is not set then the doctrine pager
>> does not work anymore
>>
>> *http://tinyurl.com/79nzuh
>>
>>
>> *
>> --
>> Thomas Rabaix
>> Internet Consultant
>>
>>
>>
>
>
> --
> Jonathan H. Wage
> Open Source Software Developer & Evangelist
> http://www.jwage.com
> http://www.doctrine-project.org
> http://www.symfony-project.org
>
> >
>


-- 
Thomas Rabaix
Internet Consultant

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" 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-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to