So if I pull up the first page, then click to any of the other pages via the
next or number links, it just pulls up the first page results (though, it
says it is on page 2 displaying results 11 - 20).  The URL for page 2 is:
/cake/seo_schools/index/page:2

However, if I first sort the table on the first page by clicking a header
and THEN paging to the next page, things work as they should.
The url then is:
/cake/seo_schools/index/page:2/sort:school_id/direction:asc

Does this sound familiar to anyone?  Ideas?

Many thanks!



Controller:
function index() {
                $this->SeoSchool->recursive = 0;
                $this->set('seoSchools', $this->paginate());
        }

View:
<div class="paging">
        <?php echo $paginator->prev('<< '.__('previous', true), array(), null,
array('class'=>'disabled'));?>
 |      <?php echo $paginator->numbers();?>
        <?php echo $paginator->next(__('next', true).' >>', array(), null,
array('class'=>'disabled'));?>
</div>


-- 
View this message in context: 
http://www.nabble.com/Does-paginate-work-in-1.2--Going-to-any-other-page-brings-up-page-one-results-tf4885700.html#a13984134
Sent from the CakePHP mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to