From f4a094e34c6a069a4fc1d737240904cdd24a4c8a Mon Sep 17 00:00:00 2001 From: UKDTOM Date: Sun, 21 Mar 2021 13:52:14 +0100 Subject: [PATCH] Fixed #312 --- CHANGELOG.md | 1 + src/components/modules/ExportTools/scripts/et.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf979bb..3b13c89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ * [#305 First launch after an upgrade should show changelog](https://github.com/WebTools-NG/WebTools-NG/issues/305) * [#311 Test all defined fields against movie export](https://github.com/WebTools-NG/WebTools-NG/issues/311) +* [#312 IMDB and IMDB link broken](https://github.com/WebTools-NG/WebTools-NG/issues/312) ## V0.2.02 diff --git a/src/components/modules/ExportTools/scripts/et.js b/src/components/modules/ExportTools/scripts/et.js index b9e564f..1befc94 100644 --- a/src/components/modules/ExportTools/scripts/et.js +++ b/src/components/modules/ExportTools/scripts/et.js @@ -688,7 +688,7 @@ const excel2 = new class Excel { break; } strStart = val.substring(start); - end = strStart.indexOf("-"); + end = strStart.indexOf(wtconfig.get('ET.ArraySep')); result = '' if (end == -1) { result = strStart.substring(7) } @@ -709,7 +709,7 @@ const excel2 = new class Excel { break; } strStart = val.substring(start); - end = strStart.indexOf("-"); + end = strStart.indexOf(wtconfig.get('ET.ArraySep')); result = '' if (end == -1) { result = strStart.substring(7) }