@@ -204,7 +204,7 @@ class ProductController extends BaseController
if (!empty($status)) {
$where['status'] = $status;
}
- if ($book == 1) {
+ if ($requestType == 'book') {
unset($where['status']);
$where['delStatus'] = $delStatus;