Changeset 17603
- Timestamp:
- 2008/09/09 22:12:28 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/class/pages/products/LC_Page_Products_Detail.php
r17579 r17603 731 731 . " FROM dtb_product_categories T2 " 732 732 . " GROUP BY product_id) AS T3 USING (product_id)"; 733 $objQuery->setorder(" product_rank DESC");733 $objQuery->setorder("T3.product_rank DESC"); 734 734 for($i = 0; $i < $max; $i++) { 735 735 $where = "del_flg = 0 AND T3.product_id = ? AND status = 1"; 736 $arrProductInfo = $objQuery->select("DISTINCT main_list_image, price02_min, price02_max, price01_min, price01_max, name, point_rate, product_rank", $from, $where, array($arrRet[$i]['recommend_product_id']));736 $arrProductInfo = $objQuery->select("DISTINCT main_list_image, price02_min, price02_max, price01_min, price01_max, name, point_rate, T3.product_rank", $from, $where, array($arrRet[$i]['recommend_product_id'])); 737 737 738 738 if(count($arrProductInfo) > 0) {
Note: See TracChangeset
for help on using the changeset viewer.