qualify column
This commit is contained in:
parent
315e10bb78
commit
f6872ca8c9
@ -107,7 +107,7 @@ class Item extends Model
|
||||
return $query;
|
||||
}
|
||||
|
||||
return $query->whereIn('type', $type);
|
||||
return $query->whereIn($this->qualifyColumn('type'), $type);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user