mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-21 22:05:43 -04:00
Fixed: Improve sorting movies by release dates
This commit is contained in:
@@ -66,6 +66,7 @@ function MovieIndexRow(props: MovieIndexRowProps) {
|
||||
inCinemas,
|
||||
digitalRelease,
|
||||
physicalRelease,
|
||||
releaseDate,
|
||||
runtime,
|
||||
minimumAvailability,
|
||||
path,
|
||||
@@ -278,6 +279,19 @@ function MovieIndexRow(props: MovieIndexRowProps) {
|
||||
);
|
||||
}
|
||||
|
||||
if (name === 'releaseDate') {
|
||||
return (
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore ts(2739)
|
||||
<RelativeDateCellConnector
|
||||
key={name}
|
||||
className={styles[name]}
|
||||
date={releaseDate}
|
||||
component={VirtualTableRowCell}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
if (name === 'runtime') {
|
||||
return (
|
||||
<VirtualTableRowCell key={name} className={styles[name]}>
|
||||
|
||||
Reference in New Issue
Block a user