Changeset 20224


Ignore:
Timestamp:
2011/02/20 02:59:48 (13 years ago)
Author:
tao
Message:

refs #982 リファクタリング 商品一覧

File:
1 edited

Legend:

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

    r20222 r20224  
    253253                if (strlen($searchCondition["where_category"]) >= 1) { 
    254254                    $dtb_product_categories = "(SELECT * FROM dtb_product_categories WHERE ".$searchCondition["where_category"].")"; 
    255                     $arrval_order = $searchCondition["arrvalCategory"]; 
     255                    $arrval_order = array_merge($searchCondition["arrvalCategory"], $searchCondition["arrvalCategory"]); 
    256256                } else { 
    257257                    $dtb_product_categories = 'dtb_product_categories'; 
     
    266266                                USING (category_id) 
    267267                        WHERE T2.product_id = alldtl.product_id 
    268                         ORDER BY T3.rank DESC, T2.rank DESC 
     268                        ORDER BY T2.rank DESC, T3.rank DESC 
    269269                        LIMIT 1 
    270270                    ) DESC 
     
    282282                    ,product_id 
    283283__EOS__; 
    284                     //$objQuery->setOrder($order); 
     284                    $objQuery->setOrder($order); 
    285285                break; 
    286286        } 
Note: See TracChangeset for help on using the changeset viewer.