We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98232c5 commit 175546bCopy full SHA for 175546b
administrator/components/com_templates/models/fields/templatename.php
@@ -37,7 +37,8 @@ class JFormFieldTemplateName extends JFormFieldList
37
*/
38
public function getOptions()
39
{
40
- $options = TemplatesHelper::getTemplateOptions();
+ $clientId = JModelList::getUserStateFromRequest('.filter.client_id', 'filter_client_id', null);
41
+ $options = TemplatesHelper::getTemplateOptions($clientId);
42
43
return array_merge(parent::getOptions(), $options);
44
}
0 commit comments