1
0
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:
Rafael Horvat
2022-11-27 10:44:06 +01:00
committed by GitHub
parent f33fbdd0b5
commit 605225c851

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_singular', $names)
->orWhereIn('name_plural', $names); ->orWhereIn('name_plural', $names);