Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Revert "MDL-31000 Respect sortorder of repositories when displaying t…

…he filepicker"

This reverts commit d811195.
  • Loading branch information...
commit 978a7da6fd438bc1fe66661f4519ee965106f0f6 1 parent 4d47200
@samhemelryk samhemelryk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  repository/lib.php
View
2  repository/lib.php
@@ -2119,7 +2119,7 @@ function initialise_filepicker($args) {
$return->return_types = $args->return_types;
foreach ($repositories as $repository) {
$meta = $repository->get_meta();
- $return->repositories[] = $meta;
+ $return->repositories[$repository->id] = $meta;
}
return $return;
}
Please sign in to comment.
Something went wrong with that request. Please try again.