From a077fd21cc279aa2eeac7c8fe868d61e071d3769 Mon Sep 17 00:00:00 2001 From: lostbit Date: Thu, 29 Aug 2024 09:54:12 +0200 Subject: [PATCH 1/3] Add default choice to collection display order --- src/components/metadataEditor/metadataEditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/metadataEditor/metadataEditor.js b/src/components/metadataEditor/metadataEditor.js index b40a858b6b7..4503e1cf106 100644 --- a/src/components/metadataEditor/metadataEditor.js +++ b/src/components/metadataEditor/metadataEditor.js @@ -717,7 +717,7 @@ function setFieldVisibilities(context, item) { showElement('#fldDisplayOrder', context); hideElement('.seriesDisplayOrderDescription', context); - context.querySelector('#selectDisplayOrder').innerHTML = ''; + context.querySelector('#selectDisplayOrder').innerHTML = ''; } else if (item.Type === 'Series') { showElement('#fldDisplayOrder', context); showElement('.seriesDisplayOrderDescription', context); From 6afd7a3d98011720c0a1c6855bb8c455a1b3a349 Mon Sep 17 00:00:00 2001 From: lostb1t Date: Sat, 28 Sep 2024 16:36:01 +0200 Subject: [PATCH 2/3] Use DateModifed for label --- src/components/metadataEditor/metadataEditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/metadataEditor/metadataEditor.js b/src/components/metadataEditor/metadataEditor.js index 4503e1cf106..c7441ca3098 100644 --- a/src/components/metadataEditor/metadataEditor.js +++ b/src/components/metadataEditor/metadataEditor.js @@ -717,7 +717,7 @@ function setFieldVisibilities(context, item) { showElement('#fldDisplayOrder', context); hideElement('.seriesDisplayOrderDescription', context); - context.querySelector('#selectDisplayOrder').innerHTML = ''; + context.querySelector('#selectDisplayOrder').innerHTML = ''; } else if (item.Type === 'Series') { showElement('#fldDisplayOrder', context); showElement('.seriesDisplayOrderDescription', context); From f7c2a273e3eb6a4a82c6da41afed507d2619db6a Mon Sep 17 00:00:00 2001 From: lostb1t Date: Sat, 28 Sep 2024 18:26:22 +0200 Subject: [PATCH 3/3] Add translations string for DateMosified --- src/strings/en-us.json | 1 + 1 file changed, 1 insertion(+) diff --git a/src/strings/en-us.json b/src/strings/en-us.json index 5d09fc16ce1..babe1b6a8e7 100644 --- a/src/strings/en-us.json +++ b/src/strings/en-us.json @@ -187,6 +187,7 @@ "DailyAt": "Daily at {0}", "Data": "Data", "DateAdded": "Date added", + "DateModified": "Date modified", "DatePlayed": "Date played", "DeathDateValue": "Died: {0}", "Default": "Default",