Skip to content

Fix: Instructor Issued Certificates, report links and columns in csv - #652

Merged
Syed-Ali-Abbas-568 merged 2 commits into
wikimedia:develop-teakfrom
Syed-Ali-Abbas-568:syed-ali/Fixed-Instructor-Certification-Generation-CSV
Jun 29, 2026
Merged

Fix: Instructor Issued Certificates, report links and columns in csv#652
Syed-Ali-Abbas-568 merged 2 commits into
wikimedia:develop-teakfrom
Syed-Ali-Abbas-568:syed-ali/Fixed-Instructor-Certification-Generation-CSV

Conversation

@Syed-Ali-Abbas-568

@Syed-Ali-Abbas-568 Syed-Ali-Abbas-568 commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Fixes: #643 and #642

Description

The Instructor Dashboard Data Download → "View / Download CSV of Certificates Issued" report (GetIssuedCertificates in lms/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 deprecated GeneratedCertificate.download_url PDF field.

This re-points the existing get_issued_certificates route to a per-learner view in the openedx-wikilearn-features plugin, reporting Username / Grade / Certificate Type / Certificate Creation Date / Certificate link, with the link built from get_certificate_url(...). The stock view is left untouched — the only change here is one import plus the route line in api_urls.py (URL name preserved, so no frontend/template changes). Depends on the companion plugin PR and must be deployed with it.

@Syed-Ali-Abbas-568
Syed-Ali-Abbas-568 force-pushed the syed-ali/Fixed-Instructor-Certification-Generation-CSV branch from b4d2e4c to 60e01c9 Compare June 22, 2026 12:23
@Syed-Ali-Abbas-568
Syed-Ali-Abbas-568 merged commit 06c0a06 into wikimedia:develop-teak Jun 29, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants