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
2b106fcb
Commit
2b106fcb
authored
Jul 31, 2008
by
Richard Mansfield
Browse files
Fix group views query for mysql
parent
6bbd3b72
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/view.php
View file @
2b106fcb
...
...
@@ -1532,9 +1532,9 @@ class View {
$viewdata
=
get_records_sql_array
(
'
SELECT * FROM (
SELECT
DISTINCT ON (v.id)
v.id, v.title, v.description, v.owner, v.ownerformat, v.group
'
.
$from
.
$where
.
'
GROUP BY v.id, v.title, v.description, v.owner, v.ownerformat, v.group
) a
ORDER BY a.title, a.id '
,
$ph
,
$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