Ticket #364 (closed バグ指摘: 無効)
管理画面、「商品並び替え」にて非公開商品が表示されている
Reported by: | uchida | Owned by: | somebody |
---|---|---|---|
Priority: | 中 | Milestone: | EC-CUBE |
Component: | 管理画面 | Version: | 1.4系(正式版) |
Keywords: | Cc: | ||
修正済み: |
Description
右側に表示される商品リストに非公開商品も表示されている。
カテゴリツリーの件数には非公開商品が含まれていない。
非公開商品も並び替え管理していても問題はないが、件数表示が変なのでどちらかに揃える。
lfGetProduct() in html/admin/products/product_rank.php
上記関数の先頭付近、
$table = "vw_products_nonclass AS noncls "; $where = "del_flg = 0 AND category_id = ?"
を
$table = "vw_products_nonclass AS noncls "; $where = "del_flg = 0 AND category_id = ? AND status = 1"
とするなど。
Change History
Note: See
TracTickets for help on using
tickets.