?
avatar benschi11
benschi11
2 Mar 2015

Steps to reproduce the issue
Create a MenuItem of type "Tagged Items". Set sort order to "published date" and "asc".

Expected result
The list should be ordered according to this settings (published date asc).

Actual result
The default sort order (fallback) is used (order by title asc)

System information (as much as possible)

PHP Version
5.5.22
MySQL Version
5.6.23

Additional comments

avatar benschi11 benschi11 - open - 2 Mar 2015
avatar joomla-cms-bot joomla-cms-bot - change - 2 Mar 2015
Labels Added: ?
avatar brianteeman brianteeman - change - 2 Mar 2015
Category Tags
avatar Erftralle
Erftralle - comment - 6 Mar 2015

Confirmed.

I think #6329, #6331 and #6348 are dealing with the same problem.

The reason for that are the recent changes in #5675.
By replacing

$params = $app->getParams();

with

$params = JComponentHelper::getParams('com_tags');

in the frontend Tag model the menu item options are not merged any longer to the $params so that only the component options are used.

@zero-24
Maybe we could replace the actual code with:

    // Load the parameters.
    if ($app->isAdmin())
    {
      $params = JComponentHelper::getParams('com_tags');
    }
    else
    {
      $params = $app->getParams();
    }

    $this->setState('params', $params);

That should solve the current issue as well as the issue in #5675.

avatar benschi11
benschi11 - comment - 6 Mar 2015

Works for me :+1: Thanks!

avatar phproberto
phproberto - comment - 7 Mar 2015

Please check and comment in: #6354

I'm closing this issue now that we have a pull request

avatar phproberto phproberto - change - 7 Mar 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-03-07 00:45:05
avatar phproberto phproberto - close - 7 Mar 2015

Add a Comment

Login with GitHub to post a comment