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
7901b85d
Commit
7901b85d
authored
Apr 16, 2010
by
Evan Goldenberg
Committed by
Richard Mansfield
Apr 30, 2010
Browse files
don't include dashboard views in the list used for view submission
Signed-off-by:
Evan Goldenberg
<
evang@catalyst.net.nz
>
parent
f8c8467a
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/view.php
View file @
7901b85d
...
@@ -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
;
...
...
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