Fix: Instructor Issued Certificates, report links and columns in csv - #652
Merged
Conversation
Syed-Ali-Abbas-568
force-pushed
the
syed-ali/Fixed-Instructor-Certification-Generation-CSV
branch
from
June 22, 2026 12:23
b4d2e4c to
60e01c9
Compare
ahmed-arb
approved these changes
Jun 22, 2026
Syed-Ali-Abbas-568
merged commit Jun 29, 2026
06c0a06
into
wikimedia:develop-teak
10 of 11 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes: #643 and #642
Description
The Instructor Dashboard Data Download → "View / Download CSV of Certificates Issued" report (
GetIssuedCertificatesinlms/djangoapps/instructor/views/api.py) returns a per-course aggregate (CourseID / Certificate Type / Total Issued / Date Report Run / Certificate link) whose "Certificate link" column is always blank because it reads the deprecatedGeneratedCertificate.download_urlPDF field.This re-points the existing
get_issued_certificatesroute to a per-learner view in theopenedx-wikilearn-featuresplugin, reporting Username / Grade / Certificate Type / Certificate Creation Date / Certificate link, with the link built fromget_certificate_url(...). The stock view is left untouched — the only change here is one import plus the route line inapi_urls.py(URLnamepreserved, so no frontend/template changes). Depends on the companion plugin PR and must be deployed with it.