mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-24 04:03:34 -08:00
Need to prefix status_id with assets.
for uniqueness (#4279)
This commit is contained in:
parent
25d3d66880
commit
8ac57d0121
|
@ -98,7 +98,7 @@ class AssetsController extends Controller
|
|||
|
||||
// These are used by the API to query against specific ID numbers
|
||||
if ($request->has('status_id')) {
|
||||
$assets->where('status_id', '=', $request->input('status_id'));
|
||||
$assets->where('assets.status_id', '=', $request->input('status_id'));
|
||||
}
|
||||
|
||||
if ($request->has('model_id')) {
|
||||
|
|
Loading…
Reference in a new issue