Skip to content

Commit

Permalink
Fix #9455 - Popup metadata override removed when filtered
Browse files Browse the repository at this point in the history
  • Loading branch information
mattlorimer committed Jan 25, 2022
1 parent f454d36 commit 58b253d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/Popups/PopupSmarty.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ public function display($end = true)
$this->th->ss->assign('footerTpl', $this->footerTpl);
$this->th->ss->assign('ASSOCIATED_JAVASCRIPT_DATA', 'var associated_javascript_data = '.$json->encode($associated_row_data). '; var is_show_fullname = '.$is_show_fullname.';');
$this->th->ss->assign('module', $this->seed->module_dir);
$this->th->ss->assign('metadata', empty($_REQUEST['metadata']) ? '' : $_REQUEST['metadata']);
$request_data = empty($_REQUEST['request_data']) ? '' : $_REQUEST['request_data'];

$this->th->ss->assign('request_data', $request_data);
Expand Down
1 change: 1 addition & 0 deletions include/Popups/tpls/header.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ function clearAll() {
<input type="hidden" name="module" value="{$module}" />
<input type="hidden" name="action" value="Popup" />
<input type="hidden" name="query" value="true" />
<input type="hidden" name="metadata" value="{$metadata}" />
<input type="hidden" name="func_name" value="" />
<input type="hidden" name="request_data" value="{$request_data}" />
<input type="hidden" name="populate_parent" value="false" />
Expand Down

0 comments on commit 58b253d

Please sign in to comment.