Changeset 21836


Ignore:
Timestamp:
2012/05/16 13:56:27 (9 years ago)
Author:
shutta
Message:

#1806 (管理画面ホームの「品切れ商品」が商品の削除を考慮していない)
削除済みの商品は対象から外すように修正。

File:
1 edited

Legend:

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

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