Skip to content

Commit

Permalink
Get raw parameters in filter tags, refs #13131
Browse files Browse the repository at this point in the history
When the escaping strategy is enabled and Markdown support is disabled,
`getParams` is converted to a `sfOutputEscaperArrayDecorator` instance.
This needs to be converted back using `$sf_data->getRaw()` to be able
to merge it with another array in the template.
  • Loading branch information
jraddaoui committed Aug 7, 2019
1 parent 71714aa commit c1e9b3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/qubit/modules/search/templates/_filterTag.php
Expand Up @@ -4,5 +4,5 @@
<?php else: ?>
<?php echo render_title($object) ?>
<?php endif; ?>
<a href="<?php echo url_for(array('module' => $module, 'action' => $action) + $getParams) ?>" class="remove-filter"><i class="fa fa-times"></i></a>
<a href="<?php echo url_for(array('module' => $module, 'action' => $action) + $sf_data->getRaw('getParams')) ?>" class="remove-filter"><i class="fa fa-times"></i></a>
</span>

0 comments on commit c1e9b3c

Please sign in to comment.