Changeset 22507 for branches/version-2_12-dev/data/class/pages/products
- Timestamp:
- 2013/02/06 20:32:57 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/products/LC_Page_Products_List.php
r22486 r22507 375 375 } 376 376 377 $searchCondition['where_for_count'] = $searchCondition['where'];378 379 377 // 在庫無し商品の非表示 380 378 if (NOSTOCK_HIDDEN) { 381 379 $searchCondition['where'] .= ' AND EXISTS(SELECT * FROM dtb_products_class WHERE product_id = alldtl.product_id AND del_flg = 0 AND (stock >= 1 OR stock_unlimited = 1))'; 382 $searchCondition['where_for_count'] .= ' AND EXISTS(SELECT * FROM dtb_products_class WHERE product_id = alldtl.product_id AND del_flg = 0 AND (stock >= 1 OR stock_unlimited = 1))'; 383 } 380 } 381 382 // XXX 一時期内容が異なっていたことがあるので別要素にも格納している。 383 $searchCondition['where_for_count'] = $searchCondition['where']; 384 384 385 385 return $searchCondition;
Note: See TracChangeset
for help on using the changeset viewer.