#6517: Paginate does not support diferent databases --------------------------------------------+------------------------------- Reporter: celsowm | Type: Bug Status: new | Priority: High Milestone: 1.2.x.x | Component: Model Version: 1.2 Final | Severity: Major Keywords: paginate diferent databases | Php_version: PHP 5 Cake_version: | --------------------------------------------+------------------------------- $this->paginate[ ' contain ' ]=array( 'Historico'=>array( 'fields'=>array('descricao')), 'Status'=>array( 'fields'=>array('periodo','nome')), 'Departamento'=>array( 'fields'=>array('DeDepartamento')) );
Departamento is a field of other 'database' table Model can create a query with diferent databases, but cannot "sort"(order by) used for paginate A ugly poor especific solution i attaching in this ticket. -- Ticket URL: <https://trac.cakephp.org/ticket/6517> CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/> Cake is a rapid development framework for PHP which uses commonly known design patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "tickets cakephp" group. To post to this group, send email to tickets-cakephp@googlegroups.com To unsubscribe from this group, send email to tickets-cakephp+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tickets-cakephp?hl=en -~----------~----~----~----~------~----~------~--~---