From 66447a865569e093f9482009f0f29225c22d77fa Mon Sep 17 00:00:00 2001 From: David Bogner Date: Thu, 5 Sep 2024 08:42:55 +0200 Subject: [PATCH] Import class in view base --- classes/view/base.php | 3 ++- view/tabular/view_class.php | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/classes/view/base.php b/classes/view/base.php index fe01cf3d..13f3c0b0 100644 --- a/classes/view/base.php +++ b/classes/view/base.php @@ -27,6 +27,7 @@ use datalynx_entries; use datalynx_filter; use datalynxfield__rating; +use datalynxfield__status; use datalynxview_entries_form; use datalynxview_patterns; use HTML_QuickForm; @@ -1576,7 +1577,7 @@ public function process_entries_data() { } else { $this->_editentries = 0; } - $this->_returntoentriesform = false; + $this->_returntoentriesform = true; return $processed; } } else { diff --git a/view/tabular/view_class.php b/view/tabular/view_class.php index 808220a2..6957b2fa 100644 --- a/view/tabular/view_class.php +++ b/view/tabular/view_class.php @@ -150,6 +150,7 @@ public function display(array $options = []): string { global $PAGE; $PAGE->requires->js_init_call('M.datalynxview_tabular.init', array(), false, $this->get_js_module()); + return ''; } private function get_js_module() {