Changeset 23542 for branches/version-2_13-dev/data/class/SC_Product.php
- Timestamp:
- 2014/06/11 13:42:24 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/SC_Product.php
r23534 r23542 83 83 $o_order = $this->arrOrderData['order']; 84 84 $objQuery->setOrder("T2.$o_col $o_order"); 85 $ objQuery->setLimit(1);86 $sub_sql = $objQuery-> getSqlWithLimitOffset($o_col, "$o_table AS T2", 'T2.product_id = alldtl.product_id');85 $sub_sql = $objQuery->getSql($o_col, "$o_table AS T2", 'T2.product_id = alldtl.product_id'); 86 $sub_sql = $objQuery->dbFactory->addLimitOffset($sub_sql, 1); 87 87 88 88 $objQuery->setOrder("($sub_sql) $o_order, product_id");
Note: See TracChangeset
for help on using the changeset viewer.
