Skip to content

Commit

Permalink
Update articles.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zero-24 committed Aug 8, 2016
1 parent 497ede6 commit db44301
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions administrator/components/com_content/models/articles.php
Expand Up @@ -106,10 +106,10 @@ protected function populateState($ordering = 'a.id', $direction = 'desc')

$formSubmited = $app->input->post->get('form_submited');

$access = $app->getUserStateFromRequest($this->context . '.filter.author_id', 'filter_author_id');
$authorId = $app->getUserStateFromRequest($this->context . '.filter.author_id', 'filter_author_id');
$categoryId = $app->getUserStateFromRequest($this->context . '.filter.category_id', 'filter_category_id');
$tag = $app->getUserStateFromRequest($this->context . '.filter.tag', 'filter_tag', '');
$access = $this->getUserStateFromRequest($this->context . '.filter.author_id', 'filter_author_id');
$authorId = $this->getUserStateFromRequest($this->context . '.filter.author_id', 'filter_author_id');
$categoryId = $this->getUserStateFromRequest($this->context . '.filter.category_id', 'filter_category_id');
$tag = $this->getUserStateFromRequest($this->context . '.filter.tag', 'filter_tag', '');

if ($formSubmited)
{
Expand All @@ -119,10 +119,10 @@ protected function populateState($ordering = 'a.id', $direction = 'desc')
$authorId = $app->input->post->get('author_id');
$this->setState('filter.author_id', $authorId)

$categoryId = JFactory::getApplication()->input->post->get('category_id');
$categoryId = $app->input->post->get('category_id');
$this->setState('filter.category_id', $categoryId);

$tag = JFactory::getApplication()->input->post->get('tag')
$tag = $app->input->post->get('tag')
$this->setState('filter.tag', $tag);
}

Expand Down

0 comments on commit db44301

Please sign in to comment.