Home » HTML » Pager » Bug #2461
would be nice to be able to exclude given vars from url
Details
| Request #2461 | would be nice to be able to exclude given vars from url |
|---|---|
| Submitted | 2004-10-05 10:53 UTC |
| From | daniel at konczyk dot net |
| Assigned | quipo |
| Status | Closed |
| Package | Pager |
| PHP Version | Irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2004-10-05 10:53 UTC] daniel at konczyk dot net
Description:
------------
It would be nice to have an option, to exclude some vars from the generated pager links, like
$exclude ; array of vars to exclude from the url
then, they would be purged in _getLinksUrl() eg
644 foreach ($qs as $name => $value) {
if (@in_array($name,$exclude))
645 $querystring[] = $name . '=' . $value;
646 }
etc.
What do you think?
I have to get rid of some vars. I can of course preg_replace the pager result, but it's not a nice solution...
extending is now a bit more complicated than before..
Cheers