New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
less files reported #1
Comments
https://moodle.org/mod/forum/discuss.php?d=214037 |
via https://moodle.org/mod/forum/discuss.php?d=200625 |
To get the relevant contextid, I had used the path in LMS, which was https://server.tld/pluginfile.php/962/mod_folder/content/0/Teaching%20Resources/DD_Living%20on%20the%20Streets.pptx?forcedownload=1 |
In context table, id=962 has instanceid=667, which is what is seen in the html, |
Explanation of context table - https://moodle.org/mod/forum/discuss.php?d=202588 |
From https://docs.moodle.org/400/en/course_display |
In course_modules table, id=667, course=34 (correct), module=8 (=folder, from modules table) |
when relying on contextid to determine course, a lower number of files is reported in the queries
https://github.com/hn-88/ad-hoc-moodle-database-queries/blob/main/Sheet%20of%20course---wise%20number%20of%20multimedia%20aids.sql
and
https://github.com/hn-88/ad-hoc-moodle-database-queries/blob/main/Number%20of%20ppt%20mp3%20mp4%20files.sql
The text was updated successfully, but these errors were encountered: