mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 06:08:21 +01:00
Fix people filter by group (#7004)
This commit is contained in:
parent
a405027bd5
commit
c02adbb433
@ -23,6 +23,7 @@ HumHub Changelog
|
||||
- Enh #6986: When moving a content from a container to another, prevent updating the content dates to keep the stream sort as it was
|
||||
- Enh #6992: Improve handle database connection errors
|
||||
- Fix #6552: When a JS file has `module.initOnAjaxLoad = true;`, if the `initOnAjaxUrls` contains multiple params in the URL, the `init` function is not triggered
|
||||
- Fix #7004: Fix people filter by group
|
||||
|
||||
1.16.0-beta.2 (April 9, 2024)
|
||||
-----------------------------
|
||||
|
@ -173,6 +173,7 @@ class PeopleFilters extends DirectoryFilters
|
||||
->leftJoin('group_user AS fgu', 'fgu.user_id = user.id')
|
||||
->leftJoin('group', 'fgu.group_id = group.id')
|
||||
->select(['group.id', 'group.name'])
|
||||
->andWhere(['show_at_directory' => 1])
|
||||
->andWhere(['IS NOT', 'group.id', new Expression('NULL')])
|
||||
->offset(null)
|
||||
->orderBy(['sort_order' => SORT_ASC, 'name' => SORT_ASC])
|
||||
|
Loading…
x
Reference in New Issue
Block a user