Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paginator Component can work with requestAction() #1436

Closed
wants to merge 5 commits into from

Conversation

zoghal
Copy link
Contributor

@zoghal zoghal commented Jul 18, 2013

I'm not a lazy programmer. 3-hours hardly tried but did not succeed.
Please help me to implement the correct test.
I wanted to create like this test.: ( https://gist.github.com/zoghal/6032614
thanks

@@ -238,7 +238,9 @@ public function paginate($object = null, $scope = array(), $whitelist = array())
(array)$this->Controller->request['paging'],
array($object->alias => $paging)
);

if(!empty($this->Controller->request->params['requested'])) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code style error as reported by Travis:
https://travis-ci.org/cakephp/cakephp/jobs/9242562

241 | ERROR | Expected "if (...) {\n"; found "if(...) {\n"

@zoghal zoghal closed this Jul 24, 2013
@zoghal zoghal deleted the reqestAction-Paginator branch July 29, 2015 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants