Hi all,
I'm developing an assign_feedback plugin (I'm new to Moodle dev but familiar with PHP). The plugin creates a new column called "Moderation complete" which simply shows a flag emoji [screenshot 1], which is set by the select checkbox on the left then selecting a custom option within the "With selected..." list. This then saves the status of what was selected and shows the flag emoji using grading_batch_operation, which is working perfectly.
What I'm struggling with and hoping for your input and advice on please is I would like to do one of the following to help show those flagged rows among what will be a list of hundreds of students.
In order of preference:
1) Append an option to the Options filter (that by default contains options for: Not submitted, Draft, Submitted etc). [screenshot 2]
2) Add a new field within Options, such as a checkbox to show only flagged rows.
3) Allow the new custom "Moderation complete" column to be orderable, such as possible by many of the core columns when their titles are clicked on.
I've tried looking through various plugins, core code and docs, but can't find the solution. Or I've become blind to the solution from looking so much :D
Might be worth adding that it won't be an option to update the core code as it wouldn't be accepted or good practice, so I'm really hoping to be able to do something from this plugin or via another plugin.
Any help would be much appreciated.
Many thanks,
Rob