Changeset 22559 for branches/version-2_12-dev/data/class
- Timestamp:
- 2013/02/18 12:18:22 (11 years ago)
- Location:
- branches/version-2_12-dev/data/class/pages/admin/contents
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/admin/contents/LC_Page_Admin_Contents_Recommend.php
r22206 r22559 175 175 function getRecommendProducts() { 176 176 $objQuery = $objQuery =& SC_Query_Ex::getSingletonInstance(); 177 $col = 'dtb_products.name,dtb_products.main_list_image,dtb_best_products.* ';177 $col = 'dtb_products.name,dtb_products.main_list_image,dtb_best_products.*,dtb_products.status'; 178 178 $table = 'dtb_best_products INNER JOIN dtb_products ON dtb_best_products.product_id = dtb_products.product_id'; 179 179 $where = 'dtb_best_products.del_flg = 0'; -
branches/version-2_12-dev/data/class/pages/admin/contents/LC_Page_Admin_Contents_RecommendSearch.php
r22206 r22559 125 125 $objFormParam->addParam('商品ID', 'search_category_id', INT_LEN, 'n', array('MAX_LENGTH_CHECK','NUM_CHECK')); 126 126 $objFormParam->addParam('商品コード', 'search_product_code', LTEXT_LEN, 'KVa', array('MAX_LENGTH_CHECK')); 127 $objFormParam->addParam('商品ステータス', 'search_status', INT_LEN, 'n', array('MAX_LENGTH_CHECK', 'NUM_CHECK')); 127 128 $objFormParam->addParam('ページ番号', 'search_pageno', INT_LEN, 'n', array('MAX_LENGTH_CHECK','NUM_CHECK')); 128 129 } … … 169 170 $where .= ' AND alldtl.product_id IN (SELECT product_id FROM dtb_products_class WHERE product_code LIKE ? GROUP BY product_id)'; 170 171 $bind[] = '%'.$val.'%'; 172 break; 173 case 'search_status': 174 $where .= ' AND alldtl.status = ?'; 175 $bind[] = $val; 171 176 break; 172 177 default:
Note: See TracChangeset
for help on using the changeset viewer.