Index: /branches/comu-ver2/html/user_data/plugins/recommend/classes/LC_Page_FrontParts_Bloc_Recommend.php
===================================================================
--- /branches/comu-ver2/html/user_data/plugins/recommend/classes/LC_Page_FrontParts_Bloc_Recommend.php (revision 18371)
+++ /branches/comu-ver2/html/user_data/plugins/recommend/classes/LC_Page_FrontParts_Bloc_Recommend.php (revision 18441)
@@ -82,6 +82,6 @@
$objQuery = new SC_Query();
- $cols = '*, (SELECT COUNT(*) FROM dtb_order_detail WHERE product_id = allcls.product_id) AS cnt';
- $from = 'vw_products_allclass AS allcls';
+ $cols = '*, (SELECT COUNT(*) FROM dtb_order_detail WHERE product_id = alldtl.product_id) AS cnt';
+ $from = 'vw_products_allclass_detail AS alldtl';
$where = <<< __EOS__
del_flg = 0