|
@@ -2207,7 +2207,8 @@ class Whlabel extends Start_Controller
|
|
|
$g = $this->whlabel->find_count($where . ' and enter = "' . $v['enter'] . '" and sku = "' . $v['sku'] . '" and warehouse = "' . $v['warehouse'] . '"');
|
|
|
$info_list[$k]['g'] = $g;
|
|
|
}
|
|
|
- $total = count($this->whlabel->find_pc($where, 'sku,features,warehouse', 'id,warehouse,sku,title,features,number'));
|
|
|
+ //$total = count($this->whlabel->find_pc($where, 'sku,features,warehouse', 'id,warehouse,sku,title,features,number'));
|
|
|
+ $total = count($this->whlabel->find_pc($where, 'enter,warehouse,sku', 'id,warehouse,sku,title,features,number'));
|
|
|
$pagenum = ceil($total / $perpage);
|
|
|
$over = $total - ($start + $perpage);
|
|
|
$rows = array('total' => $total, 'over' => $over, 'pagenum' => $pagenum, 'rows' => ($info_list));
|