Commit b1d14164 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

List dashboard & profile first in view list


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 11a6875e
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment