Commit 7901b85d authored by Evan Goldenberg's avatar Evan Goldenberg Committed by Richard Mansfield
Browse files

don't include dashboard views in the list used for view submission


Signed-off-by: default avatarEvan Goldenberg <evang@catalyst.net.nz>
parent f8c8467a
...@@ -2161,7 +2161,7 @@ class View { ...@@ -2161,7 +2161,7 @@ class View {
"SELECT v.* "SELECT v.*
FROM {view} v FROM {view} v
WHERE v.owner = ? WHERE v.owner = ?
AND v.type != 'profile' AND v.type NOT IN ('profile', 'dashboard')
ORDER BY v.title, v.id ORDER BY v.title, v.id
", array($userid))) { ", array($userid))) {
return $views; return $views;
......
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