mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
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:
commit
f22803c59f
|
@ -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'))) {
|
||||||
|
|
Loading…
Reference in a new issue