From 037caea1786ad233be02a8d8c21e7cdaf89b4be8 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 5 Apr 2023 13:59:22 -0600 Subject: [PATCH] Import/Export: Fix export CSV category filter was missing application categories --- importexport/inc/class.importexport_helper_functions.inc.php | 2 +- importexport/inc/class.importexport_widget_filter.inc.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/importexport/inc/class.importexport_helper_functions.inc.php b/importexport/inc/class.importexport_helper_functions.inc.php index f6e019b06c..3fd8b8a872 100755 --- a/importexport/inc/class.importexport_helper_functions.inc.php +++ b/importexport/inc/class.importexport_helper_functions.inc.php @@ -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': diff --git a/importexport/inc/class.importexport_widget_filter.inc.php b/importexport/inc/class.importexport_widget_filter.inc.php index 1fe83a6d48..8b888ed5b7 100644 --- a/importexport/inc/class.importexport_widget_filter.inc.php +++ b/importexport/inc/class.importexport_widget_filter.inc.php @@ -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: