Is the automatic direction change broken in the paginator for the latest Cake 3 release?

2015-12-11 Thread heavyKevy
my index method has the following baked code. $this->paginate = [ 'contain' => ['Users', 'Heights', 'Weights', 'Bats', 'Throws', 'PrimaryPositions', 'SecondaryPositions'] ]; $this->set ( 'players', $this->paginate ( $this->Players ) ); And my index.ctp is the standard

Re: Is the automatic direction change broken in the paginator for the latest Cake 3 release?

2015-12-11 Thread heavyKevy
Upon further examination, it works correctly for users, but fails for players On Saturday, December 12, 2015 at 4:08:21 AM UTC+7, heavyKevy wrote: > > Sorry, I just updated to the latest 3.1.5, > > here is an example link: > http://127.0.0.1/baseball/players/search?sort=weight=asc > after

Re: Is the automatic direction change broken in the paginator for the latest Cake 3 release?

2015-12-11 Thread heavyKevy
Sorry, I just updated to the latest 3.1.5, here is an example link: http://127.0.0.1/baseball/players/search?sort=weight=asc after clicking the weight link. while the browser is showing the same link: http://127.0.0.1/baseball/players/search?sort=weight=asc I would expect the new generated link

Re: Is the automatic direction change broken in the paginator for the latest Cake 3 release?

2015-12-11 Thread heavyKevy
I debugged it and discovered that sort options must be white listed if they are not part of the model. I missed that in the documentation... On Saturday, December 12, 2015 at 4:37:26 AM UTC+7, heavyKevy wrote: > > Upon further examination, it works correctly for users, but fails for >

Re: Is the automatic direction change broken in the paginator for the latest Cake 3 release?

2015-12-11 Thread euromark
What "is" your latest cake3 release? Are you referring to 3.0 or 3.1? I highly doubt that, there are tests for this behavior. Are there any links outputted at all? What do they say? You need to be more exact in your statements, or it is hard to say anything here. mark Am Freitag, 11.