Skip to content

Commit

Permalink
Codestyle changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tkempf committed Aug 27, 2015
1 parent d72731e commit 2f872f3
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions components/com_finder/models/suggestions.php
@@ -1,5 +1,4 @@
<?php
use Joomla\Registry\Format\Json;
/**
* @package Joomla.Site
* @subpackage com_finder
Expand Down Expand Up @@ -73,16 +72,17 @@ protected function getListQuery()
{
// Select filter params
$query->select('ff.params')
->from ($db->quoteName('#__finder_filters') . ' AS ff')
->from($db->quoteName('#__finder_filters') . ' AS ff')
->where('ff.filter_id = ' . $this->getState('filter'));
$db->setQuery($query);
$filterparams = json_decode($db->loadResult());

// Get a fresh query object
$query = $db->getQuery(true);
}

$groups = implode(',', $this->getState('user.groups'));

// Select required fields
$query->select('t.term')
->from($db->quoteName('#__finder_terms') . ' AS t')
Expand Down Expand Up @@ -169,7 +169,7 @@ protected function getListQuery()
}

}

return $query;
}

Expand Down Expand Up @@ -217,7 +217,6 @@ protected function populateState($ordering = null, $direction = null)
$params = JComponentHelper::getParams('com_finder');
$user = JFactory::getUser();


// Get the query input.
$this->setState('input', $input->request->get('q', '', 'string'));

Expand Down

0 comments on commit 2f872f3

Please sign in to comment.