Ignore:
Timestamp:
2011/11/10 23:40:41 (12 years ago)
Author:
Seasoft
Message:

#1528 (SC_Product#getListByProductIds 第2引数の順に並び替えてから返す)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_11-dev/data/class/pages/products/LC_Page_Products_List.php

    r21319 r21325  
    311311        $arrProducts = $objProduct->getListByProductIds($objQuery, $arrProductId); 
    312312 
    313         //取得している並び順で並び替え 
    314         $arrProducts2 = array(); 
    315         foreach($arrProducts as $item) { 
    316             $arrProducts2[ $item['product_id'] ] = $item; 
    317         } 
    318         $arrProducts = array(); 
    319         foreach($arrProductId as $product_id) { 
    320             $arrProducts[] = $arrProducts2[$product_id]; 
    321         } 
    322  
    323313        // 規格を設定 
    324314        $objProduct->setProductsClassByProductIds($arrProductId); 
Note: See TracChangeset for help on using the changeset viewer.