-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
3.1.11, 3.2.8, 3.3.5, 3.4.2
-
None
-
MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
Although there is currently an 'Academic year' drop-down menu in My Feedback, the code for this needs to be removed, as it did not pass testing and is not suitable for use in production environments (see CONTRIB-7248).
Instead, the My Feedback report setting's page should contain a setting that enables links to other Moodle installations containing previous year's feedback, via a drop-down menu of previous years. Selecting a previous year will take students directly to the same page on the other installation's My Feedback report (via the login page if necessary).
This will require the settings page to have previous year's Moodle installation URLs added and an option to turn this feature on or off. This will then control whether the Academic year drop-down menu displays or not. Currently, all installations have a drop-down menu saying 'current'.
It should also be possible to turn this setting off completely.
Some of this code already exists. E.g. the drop-down menu in the interface is already there. The main work will be adding this to the settings page. The settings that currently exist for archived years are for access to the database, and for telling the report if the current installation is an archive version of Moodle, or a current version. This needs to be updated to allow a number of different URL's to be added for each archive instance, along with a name to appear int he drop-down menu.
E.g. the settings might look like this:
[ ] Enable menu to access archived feedback in other Moodle installations.
Archive Name 1: 2016/17 Academic Year
URL 1: https://theurltothearchiveversion.moodle.ac.uk/201617
Archive Name 2: 2015/16 Academic Year
URL 2: https://theurltothearchiveversion.moodle.ac.uk/201516