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

Bug #8244 sort() method sets wrong properties
Submitted: 2006-07-19 08:22 UTC
From: gramlich at eosc dot de Assigned: wiesemann
Status: Closed Package: Structures_DataGrid_DataSource_DBTable (version 0.1.2)
PHP Version: 4.3.2 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2006-07-19 08:22 UTC] gramlich at eosc dot de (Gregor Gramlich)
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; }

Comments

 [2006-07-19 09:43 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2006-07-19 10:15 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!