Merge pull request #14551 from snipe/bug/sc-25221/ambiguous_id_in_custom_report

Fixed ambiguous id clause in custom report
This commit is contained in:
snipe 2024-04-04 14:25:43 +01:00 committed by GitHub
commit f22803c59f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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