?
avatar brianteeman
brianteeman
14 Mar 2017

The category selector for both of these modules is a single select but the tooltip implies it should be a multi select.

This is either a copy & paste error from the equivalent front end modules which are multiple select or an error in the module xml where they should be defined as multiples.

Any suggestion what the correct behaviour should be so it can be fixed

MOD_LATEST_FIELD_CATEGORY_DESC="Select Articles from a specific Category or set of Categories."

MOD_POPULAR_FIELD_CATEGORY_DESC="Select Articles from a specific Category or set of Categories."

avatar brianteeman brianteeman - open - 14 Mar 2017
avatar joomla-cms-bot joomla-cms-bot - change - 14 Mar 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 14 Mar 2017
avatar bertmert
bertmert - comment - 14 Mar 2017

After code review (helper.php) of both modules:
Description should be something like "Select only articles from one specific Category.". Otherwise from all categories.
Multiple categories is not intended in helper.php

// Set Category Filter
$categoryId = $params->get('catid');
if (is_numeric($categoryId))
{
 $model->setState('filter.category_id', $categoryId);
}
avatar brianteeman
brianteeman - comment - 14 Mar 2017

Ok thanks for confirming that the code only supports a single select

avatar brianteeman brianteeman - change - 14 Mar 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-03-14 17:10:32
Closed_By brianteeman
avatar brianteeman brianteeman - close - 14 Mar 2017
avatar brianteeman
brianteeman - comment - 14 Mar 2017

See #14621

Add a Comment

Login with GitHub to post a comment