From badeb558013291cd380ef5f440065bc9926cf7bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cihan=20=C5=9Eent=C3=BCrk?= <53110792+CihanSenturk@users.noreply.github.com> Date: Sun, 4 Jun 2023 18:01:59 +0300 Subject: [PATCH] fix item type scope --- app/Models/Common/Item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Common/Item.php b/app/Models/Common/Item.php index 915583c5e..affc32f4e 100644 --- a/app/Models/Common/Item.php +++ b/app/Models/Common/Item.php @@ -107,7 +107,7 @@ class Item extends Model return $query; } - return $query->whereIn($this->qualifyColumn('type'), $type); + return $query->where($this->qualifyColumn('type'), $type); } /**