I have problem with cakephp pagination if i pass GET url
everything work fine if i don't add use GET param
like this page #2
domain/imsystem/admin/remuneration_points/#admin/remuneration_points/index/page:2
but when i add GET param the like become this
domain/imsystem/admin/remuneration_points/#imsystem/admin/remuneration_points/index/page:2?Employee_name=&Employee_branch_id=1&Employee_departement_id=1
it come which extra 'imsystem', how to remove this? for the $paginator->options($opt);
this is for normal url
$opt['url'] = '#admin/'.$this->params['controller'].'/'.str_replace($this->params['prefix'].'_', '', $this->params['action']);
if with GET param
i set
$opt['url'] = $args;
which is array
Array ( [url] => Array ( [?] => Employee_name=&akhir_tanggal=&Employee_branch_id=1&Employee_departement_id=1 )
)