Add category filter to set question selection

This commit is contained in:
Wojtek
2026-10-15 16:34:55 +02:00
parent 1bed2d7dcc
commit 36e79f442e
8 changed files with 74 additions and 4 deletions
@@ -12,11 +12,15 @@ class HtmlView extends BaseHtmlView
{
protected $form;
protected $item;
protected $questions;
protected $categories;
public function display($tpl = null)
{
$this->form = $this->get('Form');
$this->item = $this->get('Item');
$this->questions = $this->get('Questions');
$this->categories = $this->get('Categories');
if (count($errors = $this->get('Errors'))) {
throw new \RuntimeException(implode("\n", $errors));