Structures_DataGrid_Renderer_HTMLTable QUERY_STRING 'feature' (read bug! ;) )
| From: | Ian P. Christian | Date: | Fri, 28 Jan 2005 17:10:57 +0000 |
| Subject: | Structures_DataGrid_Renderer_HTMLTable QUERY_STRING 'feature' (read bug! ;) ) | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-17241@lists.php.net to get a copy of this message | ||
Line 350:
if (stristr($element, $this->_dg->requestPrefix . 'orderBy')) {
$url .= $this->_dg->requestPrefix . 'orderBy=' .
$column->orderBy;
$orderByExists = true;
} elseif (stristr($element, $this->_dg->requestPrefix . 'direction')) {
$url .= $direction;
} elseif (stristr($element, $this->_dg->requestPrefix . 'page') &&
$this->sortingResetsPaging) {
$url .= $this->_dg->requestPrefix . 'page=1';
} else {
$url .= $element;
}
You're doing 'strstr', so if any other paramters contain 'page', they are
ignored :)
Kind Regards,
--
Ian P. Christian
http://pookey.co.uk