Powered by Invision Power Board



  Reply to this topicStart new topicStart Poll

> paginator searching
zulvani
Posted: Apr 26 2011, 03:29 AM
Quote Post


Newbie
*

Group: Members
Posts: 1
Member No.: 2808
Joined: 26-April 11



hi all...
I'm new in cake...
I have a question and this problem for me..

I have create a grid with display some data. I use paginator helper to split it into some page..
when I use searching query, data displayed perfectly (just only data with match with criteria is displayed) but I have problem... when I click "next" link.. the data is not filtered...

any solution, please...

thanks & regards..



PMEmail Poster
Top
blux
Posted: Apr 27 2011, 05:10 PM
Quote Post


Advanced Member
***

Group: Super Moderator
Posts: 447
Member No.: 101
Joined: 14-November 07



place the following before your next and previous paginator declaration in your view:

echo $paginator->options(array('url' => $this->passedArgs));


--------------------
You see, wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. Do you understand this? And radio operates exactly the same way: you send signals here, they receive them there. The only difference is that there is no cat.(Albert Einstein (1879 - 1955), when asked to describe radio)
PM
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll

 

Disclaimer:
This forum is in no way affiliated with the Cake Software Foundation
The CakePHP name and icon is a trademark of the Cake Software Foundation


Lo-Fi Version