#6380: Pagination problems --------------------------+------------------------------------------------- Reporter: zimakm | Type: Bug Status: new | Priority: Critical Milestone: 1.2.x.x | Component: Components Version: 1.2 Final | Severity: Major Keywords: paginator | Php_version: PHP 5 Cake_version: | --------------------------+------------------------------------------------- There are some things in pagination that just make me surprised
1. This is not good that I have to pass real field names via URL to sort. There must be some aliases/indexes and the mapper array defined inside controller to tranlsate them. I don't want users to sort by any field they want, only by those defined in the controller. 2. I cannot order by field from associated model or aggregated field. 3. You can pass via :show parameter just whatever you want. For example, 100000000. You see if the table I am requesting data from is huge that request will hang the server. The show parameter must use fixed values only. These can be aliases set in controller (1=20,2=40, for example). -- Ticket URL: <https://trac.cakephp.org/ticket/6380> 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 -~----------~----~----~----~------~----~------~--~---