Changeset 22318


Ignore:
Timestamp:
2013/01/23 15:32:00 (8 years ago)
Author:
shutta
Message:

#1806 (管理画面ホームの「品切れ商品」が商品の削除を考慮していない)
規格(dtb_products_class)のdel_flgを考慮するように修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/admin/LC_Page_Admin_Home.php

    r22206 r22318  
    232232        $where = 'product_id IN (' 
    233233               . 'SELECT product_id FROM dtb_products_class ' 
    234                . 'WHERE stock_unlimited = ? AND stock <= 0)' 
     234               . 'WHERE del_flg = 0 AND stock_unlimited = ? AND stock <= 0)' 
    235235               . ' AND del_flg = 0'; 
    236236        return $objQuery->select($cols, $table, $where, array(UNLIMITED_FLG_LIMITED)); 
Note: See TracChangeset for help on using the changeset viewer.