Skip to content

Commit

Permalink
Additional bugfixing:
Browse files Browse the repository at this point in the history
* Download data not respecting month selected (also added ordering of data for visibility ease)
* Fixed year filter display not respecting "courselevelyearfilter"
* Corrected issues with cutoff time calculations
* Updated activity dashboard for assign module not outputting submission status
* Updated CSS to change selected menu items to blue background on select instead of on losing focus
  • Loading branch information
SimonThornett committed Oct 3, 2024
1 parent c72a833 commit f62446d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion report/heatmap/classes/report.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public function has_access() : bool {
public function get_contents() : string {
global $PAGE;

if ($PAGE->course->id !== SITEID) {
if ($PAGE->course->id !== SITEID && !get_config('assessfreqreport_heatmap', 'courselevelyearfilter')) {
$this->preferenceyear = date('Y', $PAGE->course->startdate);
} else {
$this->preferenceyear = get_user_preferences('assessfreqreport_heatmap_year_preference', date('Y'));
Expand Down
2 changes: 1 addition & 1 deletion report/summary_graphs/classes/report.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function has_access() : bool {
public function get_contents() : string {
global $PAGE;

if ($PAGE->course->id !== SITEID) {
if ($PAGE->course->id !== SITEID && !get_config('assessfreqreport_summary_graphs', 'courselevelyearfilter')) {
$year = date('Y', $PAGE->course->startdate);
} else {
$year = get_user_preferences('assessfreqreport_summary_graphs_year_preference', date('Y'));
Expand Down

0 comments on commit f62446d

Please sign in to comment.