Fixed ambiguous id clause in custom report

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-04-04 14:23:58 +01:00
parent df95447ea4
commit a72d4e5dc1

View file

@ -696,7 +696,7 @@ class ReportsController extends Controller
->whereBetween('action_date',[$checkout_start, $checkout_end]) ->whereBetween('action_date',[$checkout_start, $checkout_end])
->pluck('item_id'); ->pluck('item_id');
$assets->whereIn('id',$actionlogassets); $assets->whereIn('assets.id',$actionlogassets);
} }
if (($request->filled('checkin_date_start'))) { if (($request->filled('checkin_date_start'))) {