Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
30e7184d
Commit
30e7184d
authored
Aug 02, 2007
by
Nigel McNie
Committed by
Penny Leach
Aug 17, 2007
Browse files
Fixed incorrect table alias caused by the communities -> groups rename
parent
33f9a86a
Changes
1
Show whitespace changes
Inline
Side-by-side
htdocs/contacts/groups/getgroups.json.php
View file @
30e7184d
...
...
@@ -54,9 +54,9 @@ else {
$datasql
=
'SELECT g.id,g.jointype,g.name,g.owner,count(distinct gmr.group) as requestcount, COUNT(distinct v.view) AS hasviews
FROM {group} g
LEFT JOIN {group_member_request} gmr ON gmr.group = g.id
LEFT JOIN {view_access_group} v ON v.group =
c
.id
WHERE
c
.owner = ?
GROUP BY
c
.id,
c
.jointype,
c
.name,
c
.owner'
;
LEFT JOIN {view_access_group} v ON v.group =
g
.id
WHERE
g
.owner = ?
GROUP BY
g
.id,
g
.jointype,
g
.name,
g
.owner'
;
$data
=
get_records_sql_array
(
$datasql
,
array
(
$userid
),
$offset
,
$limit
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment