mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 10:02:40 +01:00
updated date order to be InCinemas and then the earlier of either Physical/Digital Release
This commit is contained in:
parent
c28b62da2a
commit
b6e46ad8fd
@ -135,12 +135,14 @@ class MovieIndexPoster extends Component {
|
|||||||
let releaseDate = '';
|
let releaseDate = '';
|
||||||
if (showReleaseDate) {
|
if (showReleaseDate) {
|
||||||
releaseDate = inCinemas;
|
releaseDate = inCinemas;
|
||||||
if (physicalRelease && digitalRelease) {
|
if (!inCinemas) {
|
||||||
releaseDate = (physicalRelease < digitalRelease) ? physicalRelease : digitalRelease;
|
if (physicalRelease && digitalRelease) {
|
||||||
} else if (physicalRelease && !digitalRelease) {
|
releaseDate = (physicalRelease < digitalRelease) ? physicalRelease : digitalRelease;
|
||||||
releaseDate = physicalRelease;
|
} else if (physicalRelease && !digitalRelease) {
|
||||||
} else if (digitalRelease && !physicalRelease) {
|
releaseDate = physicalRelease;
|
||||||
releaseDate = digitalRelease;
|
} else if (digitalRelease && !physicalRelease) {
|
||||||
|
releaseDate = digitalRelease;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user