From eafee8a481aa1c5ae1165f29cb01ef95c41ca6bc Mon Sep 17 00:00:00 2001 From: Marcos Prieto Date: Tue, 10 Dec 2024 11:59:45 +0100 Subject: [PATCH] Add missing document types to report assignment type query --- .../02_entities/04_assignments/01_create_view.sql | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lms/data_tasks/report/create_from_scratch/02_entities/04_assignments/01_create_view.sql b/lms/data_tasks/report/create_from_scratch/02_entities/04_assignments/01_create_view.sql index 2ab3514cbc..28777861a1 100644 --- a/lms/data_tasks/report/create_from_scratch/02_entities/04_assignments/01_create_view.sql +++ b/lms/data_tasks/report/create_from_scratch/02_entities/04_assignments/01_create_view.sql @@ -19,8 +19,12 @@ CREATE MATERIALIZED VIEW report.assignments AS ( CASE -- Content integrations WHEN STARTS_WITH(url, 'blackboard://') THEN 'Blackboard Files' + WHEN STARTS_WITH(url, 'moodle://file') THEN 'Moodle Files' + WHEN STARTS_WITH(url, 'moodle://page') THEN 'Moodle Pages' WHEN STARTS_WITH(url, 'd2l://') THEN 'D2L Files' - WHEN STARTS_WITH(url, 'canvas://') THEN 'Canvas Files' + WHEN STARTS_WITH(url, 'canvas://file') THEN 'Canvas Files' + WHEN STARTS_WITH(url, 'canvas://page') THEN 'Canvas Pages' + WHEN STARTS_WITH(url, 'canvas-studio://') THEN 'Canvas Studio' WHEN STARTS_WITH(url, 'vitalsource://') THEN 'VitalSource' WHEN STARTS_WITH(url, 'jstor://') THEN 'JSTOR' WHEN STARTS_WITH(url, 'https://drive.google.com') THEN 'Google Drive'