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

Request #9147 enforce quote_identifiers for sorting
Submitted: 2006-10-24 09:41 UTC
From: chrismir Assigned: olivierg
Status: Closed Package: Structures_DataGrid_DataSource_DataObject (version 0.1.0)
PHP Version: 5.1.2 OS: linux
Roadmaps: (Not assigned)    
Subscription  


 [2006-10-24 09:41 UTC] chrismir (Chris van de Wouw)
Description: ------------ DB_DataObject has the configuration option quote_identifiers. When set to 1, identifiers will be quoted, which helps for security and use of sql keywords. But DB_DataObject does not support this for the orderBy method (see bug #9140) My request is that Structures_DataGrid_DataSource_DataObject could enforce the quote_identifiers setting on the orderBy method, as $field and $direction are already seperated and it would be easy to implement. Test script: --------------- n/a (or see bug #9140) Expected result: ---------------- n/a (or see bug #9140) Actual result: -------------- n/a (or see bug #9140)

Comments

 [2006-10-24 15:35 UTC] olivierg at php dot net (Olivier Guilyardi)
Thanks for your report. That's fixed in CVS.