This commit is contained in:
UKDTOM 2021-05-01 23:47:00 +02:00
parent 68ef277658
commit e2a3ea6141
3 changed files with 11 additions and 4 deletions

View file

@ -1,5 +1,9 @@
# ![Logo](https://github.com/WebTools-NG/WebTools-NG/blob/master/src/assets/WebTools-48x48.png) WebTools-ng Change log
## V0.3.8
* [#357 Default "Original Title" to "Title", if empty](https://github.com/WebTools-NG/WebTools-NG/issues/357)
## V0.3.7
* [#355 ET no output produced](https://github.com/WebTools-NG/WebTools-NG/issues/355)

View file

@ -1,7 +1,7 @@
{
"name": "webtools-ng",
"productName": "WebTools-NG",
"version": "0.3.7",
"version": "0.3.8",
"description": "WebTools Next Generation 4 Plex",
"author": "dane22 & CPSO",
"license": "MPL-2.0",

View file

@ -803,8 +803,9 @@ const excel2 = new class Excel {
case "Original Title":
if (wtconfig.get('ET.OrgTitleNull'))
{
let compNA = (wtconfig.get('ET.TextQualifierCSV') + wtconfig.get('ET.NotAvail') + wtconfig.get('ET.TextQualifierCSV')).trim();
// Override with title if not found
if (val == wtconfig.get('ET.NotAvail'))
if (val == compNA)
{
retVal = title;
}
@ -819,7 +820,8 @@ const excel2 = new class Excel {
if (wtconfig.get('ET.SortTitleNull'))
{
// Override with title if not found
if (val == wtconfig.get('ET.TextQualifierCSV') + 'undefined' + wtconfig.get('ET.TextQualifierCSV'))
let compNA = (wtconfig.get('ET.TextQualifierCSV') + wtconfig.get('ET.NotAvail') + wtconfig.get('ET.TextQualifierCSV')).trim();
if (val == compNA)
{
retVal = title;
}
@ -829,7 +831,8 @@ const excel2 = new class Excel {
}
else
{
if (val == wtconfig.get('ET.TextQualifierCSV') + 'undefined' + wtconfig.get('ET.TextQualifierCSV'))
let compNA = (wtconfig.get('ET.TextQualifierCSV') + 'undefined' + wtconfig.get('ET.TextQualifierCSV')).trim();
if (val == compNA)
{
retVal = wtconfig.get('ET.NotAvail');
}