[Svn-src-all:1335] [version-2_5-dev 20224] refs #982 リファクタリンク 商品一覧
tao
admin @ mail.ec-cube.net
2011年 2月 20日 (日) 02:59:48 JST
Subversion committed to /home/svn/open 20224
http://svn.ec-cube.net/open_trac/changeset/20224
┌────────────────────────────┐
│更新者 : tao │
│更新日時: 2011-02-20 02:59:48 +0900 (日, 20 2月 2011)│
└────────────────────────────┘
Log:
--------------------------------------------------------
refs #982 リファクタリンク 商品一覧
Changed: [U:修正,A:追加,D:削除]
--------------------------------------------------------
U branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_List.php
変更: branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_List.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_List.php 2011-02-19 17:45:48 UTC (rev 20223)
+++ branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_List.php 2011-02-19 17:59:48 UTC (rev 20224)
@@ -252,7 +252,7 @@
default:
if (strlen($searchCondition["where_category"]) >= 1) {
$dtb_product_categories = "(SELECT * FROM dtb_product_categories WHERE ".$searchCondition["where_category"].")";
- $arrval_order = $searchCondition["arrvalCategory"];
+ $arrval_order = array_merge($searchCondition["arrvalCategory"], $searchCondition["arrvalCategory"]);
} else {
$dtb_product_categories = 'dtb_product_categories';
}
@@ -265,7 +265,7 @@
JOIN dtb_category T3
USING (category_id)
WHERE T2.product_id = alldtl.product_id
- ORDER BY T3.rank DESC, T2.rank DESC
+ ORDER BY T2.rank DESC, T3.rank DESC
LIMIT 1
) DESC
,(
@@ -281,7 +281,7 @@
) DESC
,product_id
__EOS__;
- //$objQuery->setOrder($order);
+ $objQuery->setOrder($order);
break;
}
// 取得範囲の指定(開始行番号、行数のセット)
Svn-src-all メーリングリストの案内