New: Add release date sort option to book index view

Fixes #1403
pull/1423/head
ta264 3 years ago
parent 5827644300
commit 0db6cf272f

@ -149,6 +149,8 @@ class BookDetailsHeader extends Component {
</div>
<div className={styles.detailsLabels}>
{
releaseDate &&
<Label
className={styles.detailsLabel}
size={sizes.LARGE}
@ -164,6 +166,7 @@ class BookDetailsHeader extends Component {
}
</span>
</Label>
}
<Label
className={styles.detailsLabel}

@ -46,6 +46,15 @@ function BookIndexSortMenu(props) {
Author, Title
</SortMenuItem>
<SortMenuItem
name="releaseDate"
sortKey={sortKey}
sortDirection={sortDirection}
onPress={onSortSelect}
>
Release Date
</SortMenuItem>
<SortMenuItem
name="qualityProfileId"
sortKey={sortKey}

Loading…
Cancel
Save