View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003576 | OXID eShop (all versions) | 4.05. Performance | public | 2012-02-13 07:36 | 2012-12-10 13:29 |
| Reporter | wanis | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Fixed in Version | 4.5.8 revision 42471 | ||||
| Summary | 0003576: oxorder::getOrderArticles() doesnt stores list in object, and recalculates every time it is called | ||||
| Description | article list is loaded in $oArticles varoiable, but it is not assigned to $this->_oArticles | ||||
| Additional Information | to fix it, before return assign to $this->_oArticles so it will look like this: public function getOrderArticles( $blExcludeCanceled = false ) { if ( $this->_oArticles === null ) { ... $oArticles = oxNew( 'oxlist' ); ... $this->_oArticles = $oArticles; return $oArticles; } return $this->_oArticles; | ||||
| Tags | Performance | ||||
| Theme | Both | ||||
| Browser | All | ||||
| PHP Version | any | ||||
| Database Version | any | ||||