Skip to content

Commit

Permalink
Merge pull request #5991 from lostb1t/feature/displayordercollection
Browse files Browse the repository at this point in the history
  • Loading branch information
thornbill authored Sep 29, 2024
2 parents 7a0e3b7 + f7c2a27 commit 24b413c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/metadataEditor/metadataEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ function setFieldVisibilities(context, item) {
showElement('#fldDisplayOrder', context);
hideElement('.seriesDisplayOrderDescription', context);

context.querySelector('#selectDisplayOrder').innerHTML = '<option value="SortName">' + globalize.translate('SortName') + '</option><option value="PremiereDate">' + globalize.translate('ReleaseDate') + '</option>';
context.querySelector('#selectDisplayOrder').innerHTML = '<option value="Default">' + globalize.translate('DateModified') + '<option value="SortName">' + globalize.translate('SortName') + '</option><option value="PremiereDate">' + globalize.translate('ReleaseDate') + '</option>';
} else if (item.Type === 'Series') {
showElement('#fldDisplayOrder', context);
showElement('.seriesDisplayOrderDescription', context);
Expand Down
1 change: 1 addition & 0 deletions src/strings/en-us.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@
"DailyAt": "Daily at {0}",
"Data": "Data",
"DateAdded": "Date added",
"DateModified": "Date modified",
"DatePlayed": "Date played",
"DeathDateValue": "Died: {0}",
"Default": "Default",
Expand Down

0 comments on commit 24b413c

Please sign in to comment.