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