1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-20 13:49:42 +02:00

Correct SQL Group BY for space user list SQL

This commit is contained in:
sauls8t 2018-10-07 13:58:30 +01:00
parent 8eb930d281
commit 49f05746bd
3 changed files with 666 additions and 666 deletions

View file

@ -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 {

View file

@ -40,7 +40,7 @@ func main() {
rt.Product.Major = "1"
rt.Product.Minor = "71"
rt.Product.Patch = "0"
rt.Product.Revision = 181006150624
rt.Product.Revision = 181007125514
rt.Product.Version = fmt.Sprintf("%s.%s.%s", rt.Product.Major, rt.Product.Minor, rt.Product.Patch)
rt.Product.Edition = "Community"
rt.Product.Title = fmt.Sprintf("%s Edition", rt.Product.Edition)

File diff suppressed because one or more lines are too long