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
b1d14164
Commit
b1d14164
authored
May 05, 2010
by
Richard Mansfield
Browse files
List dashboard & profile first in view list
Signed-off-by:
Richard Mansfield
<
richardm@catalyst.net.nz
>
parent
11a6875e
Changes
1
Show whitespace changes
Inline
Side-by-side
htdocs/lib/view.php
View file @
b1d14164
...
...
@@ -2027,8 +2027,8 @@ class View {
FROM {view} v
LEFT OUTER JOIN {group} g ON (v.submittedgroup = g.id AND g.deleted = 0)
LEFT OUTER JOIN {host} h ON (v.submittedhost = h.wwwroot)
WHERE v.owner = '
.
$userid
.
'
ORDER BY v.type
DESC
, v.title, v.id
'
,
''
,
$offset
,
$limit
);
WHERE v.owner = '
.
$userid
.
"
ORDER BY v.type
= 'portfolio', v.type
, v.title, v.id
"
,
''
,
$offset
,
$limit
);
$owner
=
$userid
;
}
...
...
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