调整搜索
parent
567ce7a3e8
commit
bae49d34d8
|
|
@ -11,8 +11,8 @@ class AgriculturalBaseFilter extends ModelFilter
|
||||||
return $this->where('type', $type);
|
return $this->where('type', $type);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function parentId($parentId)
|
public function parent($parent)
|
||||||
{
|
{
|
||||||
return $this->where('parent_id', $parentId);
|
return $this->where('parent_id', $parent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue