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
e63be886
Commit
e63be886
authored
Jul 02, 2012
by
Hugh Davenport
Committed by
Gerrit Code Review
Jul 02, 2012
Browse files
Merge "Display plans in alphabetical order (Bug #1011796)"
parents
a43350d9
c6748660
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/artefact/plans/lib.php
View file @
e63be886
...
...
@@ -99,7 +99,7 @@ class ArtefactTypePlan extends ArtefactType {
(
$plans
=
get_records_sql_array
(
"SELECT * FROM
{
artefact
}
WHERE owner = ? AND artefacttype = 'plan'
ORDER BY
id
"
,
array
(
$USER
->
get
(
'id'
)),
$offset
,
$limit
))
ORDER BY
title ASC
"
,
array
(
$USER
->
get
(
'id'
)),
$offset
,
$limit
))
||
(
$plans
=
array
());
$result
=
array
(
'count'
=>
count_records
(
'artefact'
,
'owner'
,
$USER
->
get
(
'id'
),
'artefacttype'
,
'plan'
),
...
...
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