mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-24 12:17:05 -08:00
Fixed query for location ID
This commit is contained in:
parent
88dff754b1
commit
d7f8615964
|
@ -112,7 +112,7 @@ class AssetsController extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($request->has('location_id')) {
|
if ($request->has('location_id')) {
|
||||||
$assets->ByLocationId($request->input('location_id'));
|
$assets->where('assets.location_id', '=', $request->input('location_id'));
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($request->has('supplier_id')) {
|
if ($request->has('supplier_id')) {
|
||||||
|
|
Loading…
Reference in a new issue