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
66a1cd11
Commit
66a1cd11
authored
Nov 27, 2006
by
Richard Mansfield
Browse files
Display only 5 views per page
parent
0a21e1c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/view/myviews.json.php
View file @
66a1cd11
...
...
@@ -43,10 +43,8 @@ $prefix = get_config('dbprefix');
$viewdata
=
get_records_sql_array
(
'SELECT v.id,v.title,v.startdate,v.stopdate,v.description,c.name
FROM '
.
$prefix
.
'view v
LEFT OUTER JOIN '
.
$prefix
.
'community c ON v.submittedto = c.id
WHERE v.owner = '
.
$userid
,
''
);
// . '
// ORDER BY v.title', '');
WHERE v.owner = '
.
$userid
.
'
ORDER BY v.title'
,
''
,
$offset
,
$limit
);
$viewidlist
=
implode
(
', '
,
array_map
(
create_function
(
'$a'
,
'return $a->id;'
),
$viewdata
));
...
...
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