diff --git a/include/staff/tasks.inc.php b/include/staff/tasks.inc.php
index 4b0b333c9d8cd332402e5f7498bab479a9279632..2307d1975a1a6afa16d7ec2a8ea36093b8233f57 100644
--- a/include/staff/tasks.inc.php
+++ b/include/staff/tasks.inc.php
@@ -2,6 +2,9 @@
 $tasks = Task::objects();
 $date_header = $date_col = false;
 
+// Make sure the cdata materialized view is available
+TaskForm::ensureDynamicDataView();
+
 // Figure out REFRESH url — which might not be accurate after posting a
 // response
 list($path,) = explode('?', $_SERVER['REQUEST_URI'], 2);