Import/Export: Fix export CSV category filter was missing application categories

This commit is contained in:
nathan 2023-04-05 13:59:22 -06:00
parent ce8a76baec
commit 037caea178
2 changed files with 2 additions and 2 deletions

View File

@ -679,7 +679,7 @@ class importexport_helper_functions {
$settings['tags'] = true;
break;
case 'select-cat':
$settings['rows'] = "5,,,$app_name";
$settings['application'] = $app_name;
$settings['tags'] = true;
break;
case 'select-account':

View File

@ -111,7 +111,7 @@ class importexport_widget_filter extends Etemplate\Widget\Transformer
break;
case 'select-cat':
$this->setElementAttribute($form_name.'['.self::$prefix.$lname.']', 'other', $field['rows']);
$this->setElementAttribute($form_name . '[' . self::$prefix . $lname . ']', 'application', $field['application']);
// fall through
case 'select':
default: