Skip to content

Commit

Permalink
Multi category - blog layout view
Browse files Browse the repository at this point in the history
Adding a space and tab
  • Loading branch information
yozmag committed Apr 1, 2019
1 parent e0cc7d6 commit 4b11618
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/com_content/models/featured.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,10 @@ protected function populateState($ordering = null, $direction = null)
$limit = $params->get('num_leading_articles') + $params->get('num_intro_articles') + $params->get('num_links');
$this->setState('list.limit', $limit);
$this->setState('list.links', $params->get('num_links'));

if($featuredCategories = $params->get('show_only_featured',1))
{
$this->setState('filter.frontpage', true);
$this->setState('filter.frontpage', true);
}

if ((!$user->authorise('core.edit.state', 'com_content')) && (!$user->authorise('core.edit', 'com_content')))
Expand Down

0 comments on commit 4b11618

Please sign in to comment.