Skip to content

Commit

Permalink
Correct access to searchfilter-params in search results form view
Browse files Browse the repository at this point in the history
  • Loading branch information
tkempf committed Aug 27, 2015
1 parent 9330622 commit daed030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/com_finder/views/search/tmpl/default_form.php
Expand Up @@ -39,7 +39,7 @@
if ($this->params->get('show_autosuggest', 1))
{
JHtml::_('script', 'media/jui/js/jquery.autocomplete.min.js', false, false, false, false, true);
$filter = ($params->get('searchfilter') != '') ? '&f=' . $params->get('searchfilter') : '';
$filter = ($this->params->get('searchfilter') != '') ? '&f=' . $this->params->get('searchfilter') : '';

$script .= "
var suggest = jQuery('#q').autocomplete({
Expand Down

0 comments on commit daed030

Please sign in to comment.