Skip to content

Commit

Permalink
MDL-62989 privacy: Improve data request order for users
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihail Geshoski committed Aug 24, 2018
1 parent 8987e22 commit 65b8d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/tool/dataprivacy/mydatarequests.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
echo $OUTPUT->header();
echo $OUTPUT->heading($title);

$requests = tool_dataprivacy\api::get_data_requests($USER->id);
$requests = tool_dataprivacy\api::get_data_requests($USER->id, [], [], 'timecreated DESC');
$requestlist = new tool_dataprivacy\output\my_data_requests_page($requests);
$requestlistoutput = $PAGE->get_renderer('tool_dataprivacy');
echo $requestlistoutput->render($requestlist);
Expand Down

0 comments on commit 65b8d2a

Please sign in to comment.