mirror of
https://github.com/flarum/core.git
synced 2025-08-04 23:47:32 +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_singular', $names)
|
||||||
->orWhereIn('name_plural', $names);
|
->orWhereIn('name_plural', $names);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user