Commit 27e005b5 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Don't report profile views in view count on My Views page

parent 97153112
......@@ -1389,7 +1389,7 @@ class View {
ORDER BY v.title,', array($institution), $offset, $limit);
else {
$count = count_records('view', 'owner', $userid);
$count = count_records('view', 'owner', $userid, 'type', 'portfolio');
$viewdata = get_records_sql_array('SELECT,v.title,v.startdate,v.stopdate,v.description, v.template, AS groupid,
FROM {view} v
LEFT OUTER JOIN {group} g ON (v.submittedto = AND g.deleted = 0)
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