From 7d807a56941f02a0c4e23339b77bd3a64554d5cc Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Mon, 11 Apr 2022 14:40:07 +0800 Subject: [PATCH] * Fix bug #19789. --- module/search/control.php | 1 + module/search/view/buildform.html.php | 3 +++ 2 files changed, 4 insertions(+) diff --git a/module/search/control.php b/module/search/control.php index 2e333ae320..14425eb982 100644 --- a/module/search/control.php +++ b/module/search/control.php @@ -110,6 +110,7 @@ class search extends control return print(js::closeModal('parent.parent', '', "function(){parent.parent.loadQueries($queryID, $shortcut, '{$data->title}')}")); } + $this->view->module = $module; $this->view->onMenuBar = $onMenuBar; $this->display(); diff --git a/module/search/view/buildform.html.php b/module/search/view/buildform.html.php index fa2f5f6f13..366cfcf8ba 100644 --- a/module/search/view/buildform.html.php +++ b/module/search/view/buildform.html.php @@ -250,6 +250,7 @@ foreach($fieldParams as $fieldName => $param) search->custom);?> +