From 42e3e00c7ed1c4ef747ada0e8e5868b1f6f00f08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Wed, 11 Jul 2018 16:09:15 +0200 Subject: [PATCH] Include additional services category --- .../ext/ep_products/Classes/Service/ImportService.php | 4 ++-- .../Private/Assets/js/components/ServicesListOptional.vue | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/web/typo3conf/ext/ep_products/Classes/Service/ImportService.php b/web/typo3conf/ext/ep_products/Classes/Service/ImportService.php index c5fae3fa..c5328fc0 100644 --- a/web/typo3conf/ext/ep_products/Classes/Service/ImportService.php +++ b/web/typo3conf/ext/ep_products/Classes/Service/ImportService.php @@ -575,9 +575,9 @@ class ImportService implements SingletonInterface continue; } - // Skip services of subcategory 'SON' and 'EIN' + // Skip services of subcategory 'EIN' $type = (string) $service->attributes()['unterart']; - if ($type === 'SON' || $type === 'EIN') { + if ($type === 'EIN') { continue; } diff --git a/web/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/ServicesListOptional.vue b/web/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/ServicesListOptional.vue index 2179d379..b30b0a50 100644 --- a/web/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/ServicesListOptional.vue +++ b/web/typo3conf/ext/ep_theme/Resources/Private/Assets/js/components/ServicesListOptional.vue @@ -27,7 +27,8 @@ VPF: [], SPA: [], KUR: [], - VER: [] + VER: [], + SON: [], } } } @@ -40,6 +41,7 @@ SPA: 'Skipass', KUR: 'Kurse', VER: 'Verleih', + SON: 'Sonstiges', } } }