mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
Correct SQL Group BY for space user list SQL
This commit is contained in:
parent
8eb930d281
commit
49f05746bd
3 changed files with 666 additions and 666 deletions
|
@ -215,7 +215,7 @@ func (s Store) GetSpaceUsers(ctx domain.RequestContext, spaceID string) (u []use
|
|||
UNION ALL
|
||||
SELECT r.c_userid from dmz_group_member r LEFT JOIN dmz_permission p ON p.c_whoid=r.c_groupid WHERE p.c_orgid=? AND p.c_who='role' AND p.c_scope='object' AND p.c_location='space' AND p.c_refid=?
|
||||
)
|
||||
ORDER BY u.c_firstname, c_u.lastname`),
|
||||
ORDER BY u.c_firstname, u.c_lastname`),
|
||||
ctx.OrgID, ctx.OrgID, spaceID, ctx.OrgID, spaceID)
|
||||
|
||||
if err == sql.ErrNoRows {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue