Commit dfe7170d authored by Nigel McNie's avatar Nigel McNie
Browse files

Order view feedback by oldest first. It's far easier to read.

parent 200a3084
......@@ -57,7 +57,7 @@ if ($artefact) {
FROM {artefact_feedback}
WHERE view = ' . $view . ' AND artefact = ' . $artefact
. ($public ? ' AND (public = 1 OR author = ' . $userid . ')' : '') . '
ORDER BY id DESC', '', $offset, $limit);
ORDER BY id', '', $offset, $limit);
}
else {
......@@ -78,7 +78,7 @@ else {
LEFT OUTER JOIN {artefact_file_files} af ON af.artefact = a.id
WHERE view = ' . $view
. ($public ? ' AND (f.public = 1 OR f.author = ' . $userid . ')' : '') . '
ORDER BY id DESC', '', $offset, $limit);
ORDER BY id', '', $offset, $limit);
}
$data = array();
......
Markdown is supported
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