Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make request property lazy loaded & fix most sorting issues.
Make the request object access happen only when it is required instead of during the constructor. Remove automagic detection of associated fields and virtual fields (which don't exist yet). If you need to sort on associated fields, you will need to use the whitelist features. CakePHP will only check the primary table being pagintaed for columns. This keeps the magic to a minimum and still affords prototyping.
- Loading branch information
Showing
2 changed files
with
27 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters