search fix
This commit is contained in:
parent
a9015ac8a5
commit
56461e3200
|
|
@ -56,7 +56,7 @@ class ProductFlat extends Model implements ProductFlatContract
|
|||
|
||||
public function searchable(): bool
|
||||
{
|
||||
return $this->status || $this->visible_individually;
|
||||
return $this->status && $this->visible_individually;
|
||||
}
|
||||
|
||||
public function toSearchableArray():array
|
||||
|
|
|
|||
Loading…
Reference in New Issue