Hello everybody,

It looks like I have found a bug :

I have a complex query with an action whcih contains several parameters
whcih I would liek to keep when I use the sorting functionality in the
view.

I found a ticket on this: https://trac.cakephp.org/ticket/2099

This seems to solve my problem, but before I apply patches and mess up
my cake installation I would like to know first if anybody knows if this
was fixed in RC3? 

At the moment I have this function, which doesn't pass the parameters on
when the result is sorted by clicking on the table header:
        function getBilder($id = null, $produkt = null, $master = null)
{
                //.. Some code..//
                $paginator_params = array();
                $paginator_params['controller'] = 'bilds';
                $paginator_params['action'] =
$this->action.'/'.$id.'/'.$produkt.'/'.$master;

                $this->paginate['Bild'] = array(
                        'limit' => 10,
                        'order' => array ('Bild.name' => 'asc'),
                        'url' => $paginator_params
                        //'url' => $this->passedArgs
                );

        //some more code
        $this->set(compact('produkt','master','textarten','bilds',
'paginator_params','data'));
        }

Greetings

Anja

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to