Filter by plugin, if passed in via

This commit is contained in:
Nathan Gray 2013-05-29 20:47:34 +00:00
parent 5fea4ed9a5
commit ae69fbfe8e

View File

@ -79,7 +79,8 @@ class importexport_export_ui {
$sel_options['definition'] = array('' => lang('Select')); $sel_options['definition'] = array('' => lang('Select'));
$definitions = new importexport_definitions_bo(array( $definitions = new importexport_definitions_bo(array(
'type' => 'export', 'type' => 'export',
'application' => isset($content['appname']) ? $content['appname'] : '%' 'application' => isset($content['appname']) ? $content['appname'] : '*',
'plugin' => $_plugin ? $_plugin : '*'
)); ));
foreach ((array)$definitions->get_definitions() as $identifier) { foreach ((array)$definitions->get_definitions() as $identifier) {
try { try {