Home » Structures » Structures_DataGrid » Bug #3314
setRequestPrefix
Details
| Request #3314 | setRequestPrefix |
|---|---|
| Submitted | 2005-01-27 16:28 UTC |
| From | sje at luminans dot dk |
| Status | No Feedback |
| Package | Structures_DataGrid |
| PHP Version | 4.3.8 |
| Roadmaps | (Not assigned) |
Comments
[2005-01-27 16:28 UTC] sje at luminans dot dk
Description:
------------
When using setRequestPrefix() the datagrid automatically fetches the orderBy and direction..
But when not using setRequestPrefix() you have to use:
$dg->sortRecordSet($_GET['orderBy'], $_GET['direction']);
Wouldn't it be easier to have the datagrid automatcally get the orderBy and direction values ?
[2005-01-27 18:58 UTC] ylf at xung dot org
I don't see that behaviour in here.
Are you using Structures_DataGrid version 0.6.2 ?
Can you please send some reproduce code as well as the query string that gets passed (echo $_SERVER['QUERY_STRING']) ?