mirror of
https://github.com/flarum/core.git
synced 2025-08-05 16:07:34 +02:00
fix: column id
can be ambiguous in group filter with extensions (#3696)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user