Skip to content

Commit

Permalink
fix item type scope
Browse files Browse the repository at this point in the history
  • Loading branch information
CihanSenturk committed Jun 4, 2023
1 parent 1093aef commit badeb55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/Common/Item.php
Expand Up @@ -107,7 +107,7 @@ public function scopeType($query, $type)
return $query;
}

return $query->whereIn($this->qualifyColumn('type'), $type);
return $query->where($this->qualifyColumn('type'), $type);
}

/**
Expand Down

0 comments on commit badeb55

Please sign in to comment.