mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -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')) {
|
||||
$assets->where('company_id','=',$request->input('company_id'));
|
||||
$assets->where('assets.company_id','=',$request->input('company_id'));
|
||||
}
|
||||
|
||||
if ($request->has('manufacturer_id')) {
|
||||
|
|
Loading…
Reference in a new issue