3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-24 15:05:52 +00:00

Merge remote-tracking branch 'origin/develop'

This commit is contained in:
snipe
2024-08-29 21:07:56 +01:00

View File

@ -27,7 +27,7 @@ class LicensesController extends Controller
$licenses = License::with('company', 'manufacturer', 'supplier','category', 'adminuser')->withCount('freeSeats as free_seats_count');
if ($request->filled('company_id')) {
$licenses->where('company_id', '=', $request->input('company_id'));
$licenses->where('licenses.company_id', '=', $request->input('company_id'));
}
if ($request->filled('name')) {