Open nyanginator opened 7 years ago
I think we found the same issue on the admin search tabs and have fixed this. @nyanginator can you please re-test with the latest code in git?
just re-downloaded, still same problem. Admin tabs work fine, but not Dashboard.
Ah sorry, can you retry using this branch:
https://github.com/brendanheywood/moodle-local_cleanurls/tree/development
yup, looks like it's working now!
ok just a heads up that we have a long running dev branch with some fairly major changes in it. We will merge back once it is all stable probably a couple weeks away. Feel free to use at your own risk :)
On the newly revamped Moodle 3.3 Dashboard, the "myoverview" block is now used in place of "courseoverview". There are tabs for Courses, Timeline, Sort by Date, Sort by Courses, In Progress, Future, and Past. None of these tabs are working when Clean URLs is enabled. Nothing happens when they are clicked, except in Chrome, where this browser error shows sometimes:
I tried searching for the error, resulting in this thread https://moodle.org/mod/forum/discuss.php?d=344183#p1391626, which mentions removing the # to make the error go away. Ignoring links with # is how I did the quick fix in https://github.com/brendanheywood/moodle-local_cleanurls/issues/104#issuecomment-317938511.
For this My Overview block case, I couldn't find any # signs in the $this->originalurl link, so my quick fix for this involved cleaning only course and mod URLs on the Dashboard page in /local/cleanurls/classes/local/cleaner/cleaner.php:
Hope this info is helpful in pinpointing the underlying issue.