Compare commits
2 Commits
b461c79b53
...
a89f7fbe28
Author | SHA1 | Date | |
---|---|---|---|
a89f7fbe28 | |||
bb039fcf5e |
@ -66,7 +66,11 @@ class WarehouseProductStoregeLists extends BaseAdminDataLists implements ListsSe
|
|||||||
{
|
{
|
||||||
if ($this->request->get('store_name')) {
|
if ($this->request->get('store_name')) {
|
||||||
$this->store_name = $this->request->get('store_name');
|
$this->store_name = $this->request->get('store_name');
|
||||||
$ids = StoreProduct::where('store_name', 'like', '%' . $this->request->get('store_name') . '%')->column('id');
|
$where[] = ['store_name', 'like', '%' . $this->request->get('store_name') . '%'];
|
||||||
|
if($this->request->get('class_all')){
|
||||||
|
$where[] = ['top_cate_id', 'in', $this->request->get('class_all')];
|
||||||
|
}
|
||||||
|
$ids = StoreProduct::where($where)->column('id');
|
||||||
if ($ids) {
|
if ($ids) {
|
||||||
$this->searchWhere[] = ['product_id', 'in', $ids];
|
$this->searchWhere[] = ['product_id', 'in', $ids];
|
||||||
$this->ids = $ids;
|
$this->ids = $ids;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user