Commit e63be886 authored by Hugh Davenport's avatar Hugh Davenport Committed by Gerrit Code Review
Browse files

Merge "Display plans in alphabetical order (Bug #1011796)"

parents a43350d9 c6748660
......@@ -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'),
......
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