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:
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
|
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=?
|
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)
|
ctx.OrgID, ctx.OrgID, spaceID, ctx.OrgID, spaceID)
|
||||||
|
|
||||||
if err == sql.ErrNoRows {
|
if err == sql.ErrNoRows {
|
||||||
|
|
|
@ -40,7 +40,7 @@ func main() {
|
||||||
rt.Product.Major = "1"
|
rt.Product.Major = "1"
|
||||||
rt.Product.Minor = "71"
|
rt.Product.Minor = "71"
|
||||||
rt.Product.Patch = "0"
|
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.Version = fmt.Sprintf("%s.%s.%s", rt.Product.Major, rt.Product.Minor, rt.Product.Patch)
|
||||||
rt.Product.Edition = "Community"
|
rt.Product.Edition = "Community"
|
||||||
rt.Product.Title = fmt.Sprintf("%s Edition", rt.Product.Edition)
|
rt.Product.Title = fmt.Sprintf("%s Edition", rt.Product.Edition)
|
||||||
|
|
1328
embed/bindata.go
1328
embed/bindata.go
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue