owncloud / moodle-repository_ocis

GNU General Public License v3.0
3 stars 0 forks source link

added sortorder option name in repository instances #87

Closed S-Panta closed 8 months ago

S-Panta commented 8 months ago

This PR adds sortorder option in get_instance_option_names because moodle shows Moodle exception: Exception - Warning: Undefined array key "sortorder" in [dirroot]/repository/lib.php image

The warning message can only be hidden by Web and the option to hide it via cli doesn't work. Thus, adding this option shows no warning message and drone CI passes for UI test.

Reference: https://tracker.moodle.org/browse/MDL-81005