Re: $paginator-link sorting – Is this a Bug?

2009-03-22 Thread Mike Cook
FYI The latest CakePHP release (1.2.2.8120) fixes the problems I was having, now $paginator-link() can used to get the desired results. On my initial check, everything seems to be working perfect. Many thanks to the developers! Mike On Feb 27, 11:11 pm, Mike Cook m...@epubbooks.com wrote: As

Re: $paginator-link sorting – Is this a Bug?

2009-03-22 Thread Martin Westin
The fix changed the behavior for all simple (single-model) paginations so that they now require the modelname in sort() to work. I suspect this was not intended? http://groups.google.com/group/cake-php/browse_thread/thread/00fc597c81414280# On Mar 22, 1:51 pm, Mike Cook m...@epubbooks.com

Re: $paginator-link sorting – Is this a Bug?

2009-03-22 Thread Mike Cook
I don't mind having to specify the model as this has to got be better than hacking the core. :) Alas, when I try to use 'direction' in $paginator-link() it still gets ignored, so I will still need to use $html-link on those. On Mar 22, 2:04 pm, Martin Westin martin.westin...@gmail.com wrote:

Re: $paginator-link sorting – Is this a Bug?

2009-02-27 Thread Mike Cook
As there was no reply I ended up posting a bug ticket for this. I'm posting the result here for future searches on the subject. Apparently this inheritance is the intended behavior of the Paginator helper. Personally this makes no sense to me, but I guess there must be good reason for it. If

$paginator-link sorting – Is this a Bug?

2009-02-15 Thread Mike Cook
I had posted about this previously but I guess the title and explanation I used were not very good. Hopefully this will be better. Here is my code; // Controller function index() { $this-paginate['Book'] = array( 'contain' = array('Author', 'Language', 'Genre'), 'order' =