mirror of
https://github.com/WebTools-NG/WebTools-NG
synced 2024-11-22 11:03:13 +00:00
Fixed #357
This commit is contained in:
parent
68ef277658
commit
e2a3ea6141
3 changed files with 11 additions and 4 deletions
|
@ -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)
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue