mirror of
https://github.com/flarum/framework.git
synced 2025-01-23 21:10:45 +08:00
fix: column id
can be ambiguous in group filter with extensions (#3696)
This commit is contained in:
parent
f33fbdd0b5
commit
605225c851
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user