Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.9.3

Bug #1181 Query string is not keep in data ordering
Submitted: 2004-04-11 22:48 UTC
From: rombert at go dot ro Assigned: asnagy
Status: Closed Package: Structures_DataGrid
PHP Version: 4.2.2 OS: Linux
Roadmaps: (Not assigned)    
Comments Add Comment Add patch

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 26 - 8 = ?

 [2004-04-11 22:48 UTC] rombert at go dot ro
Description: ------------ Clicking on the header columns in order to sort the data wipes out the query string. To solve this, apply the following patch to Renderer/HTMLTable.php: 174,175c174,175 < if (stristr($_SERVER['PHP_SELF'], '?')) { < $url = $_SERVER['PHP_SELF'] . '&orderBy='; --- > if ( strlen($_SERVER['QUERY_STRING']) > 0 ) { > $url = $_SERVER['PHP_SELF'] . '?' . $_SERVER['QUERY_STRING'] . '&orderBy=';


 [2004-05-04 01:40 UTC] asnagy at webitecture dot org
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at