PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Structures » Structures_DataGrid » Bug #3314

setRequestPrefix

Details

Request #3314setRequestPrefix
Submitted2005-01-27 16:28 UTC
Fromsje at luminans dot dk
StatusNo Feedback
PackageStructures_DataGrid
PHP Version4.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']) ?