Home » Structures » Structures_DataGrid_DataSource_DBTable » Bug #8244
sort() method sets wrong properties
Details
| Submitted | 2006-07-19 08:22 UTC |
|---|---|
| From | gramlich at eosc dot de |
| Assigned | wiesemann |
| Status | Closed |
| Package | Structures_DataGrid_DataSource_DBTable |
| PHP Version | 4.3.2 |
| Roadmaps | (Not assigned) |
Comments
[2006-07-19 08:22 UTC] gramlich at eosc dot de
Description:
------------
Hallo Mark,
danke für das schnelle Update beim letzten Bug. Hier ist
der nächste:
The sort() method sets properties sortField and sortDir,
which should be _sortField and _sortDir.
Change lines 198, 199.
--- DBTableBAK.php 2006-07-18 16:59:25.000000000
+0200
+++ DBTable.php 2006-07-19 10:16:28.912732654 +0200
@@ -195,8 +195,8 @@
*/
function sort($sortField, $sortDir)
{
- $this->sortField = $sortField;
- $this->sortDir = $sortDir;
+ $this->_sortField = $sortField;
+ $this->_sortDir = $sortDir;
}