fix: column id can be ambiguous in group filter with extensions (#3696)

This commit is contained in:
Rafael Horvat 2022-11-27 10:44:06 +01:00 committed by GitHub
parent f33fbdd0b5
commit 605225c851
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ class GroupFilterGambit extends AbstractRegexGambit implements FilterInterface
}
}
$groupQuery->whereIn('id', $ids)
$groupQuery->whereIn('groups.id', $ids)
->orWhereIn('name_singular', $names)
->orWhereIn('name_plural', $names);