Skip to content

Instantly share code, notes, and snippets.

@kadavre
Created December 6, 2013 10:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kadavre/7821618 to your computer and use it in GitHub Desktop.
Save kadavre/7821618 to your computer and use it in GitHub Desktop.
Maintaining BET variables between pages with cakephp.
<?php
$this->paginator->options(array(
'url' => $this->request->query,
'convertKeys' => array_keys($this->request->query)
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment