Fixed ambiguous query on supplier_id in maintenances

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-02-15 09:51:14 +00:00
parent bf3794822c
commit 13d2af2155

View file

@ -48,7 +48,7 @@ class AssetMaintenancesController extends Controller
}
if ($request->filled('supplier_id')) {
$maintenances->where('supplier_id', '=', $request->input('supplier_id'));
$maintenances->where('asset_maintenances.supplier_id', '=', $request->input('supplier_id'));
}
if ($request->filled('asset_maintenance_type')) {