mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Disambiguated company_id in assets api controller
This commit is contained in:
parent
875d0dd343
commit
5b450c5978
|
@ -114,7 +114,7 @@ class AssetsController extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($request->has('company_id')) {
|
if ($request->has('company_id')) {
|
||||||
$assets->where('company_id','=',$request->input('company_id'));
|
$assets->where('assets.company_id','=',$request->input('company_id'));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($request->has('manufacturer_id')) {
|
if ($request->has('manufacturer_id')) {
|
||||||
|
|
Loading…
Reference in a new issue