Compare commits

..

No commits in common. "b461c79b53ad28942586bc4060b47270dd1303ad" and "b3dee9c1668dab193220874feed488416cd17e4f" have entirely different histories.

View File

@ -185,7 +185,7 @@ class StoreProductLists extends BaseAdminDataLists implements ListsSearchInterfa
$class_all = $this->request->get('class_all');
if ($class_all) {
if (count($class_all) == 1) {
$query->where('top_cate_id', $class_all[0]);
$query->where('top_category_id', $class_all[0]);
} elseif (count($class_all) == 2) {
$query->where(function ($query) use ($class_all) {
$query->where('two_cate_id', $class_all[1])->whereOr('cate_id', $class_all[1]);