feat(filter): add audiobook narrator filter and sort option
This commit is contained in:
@@ -194,6 +194,7 @@ export type VisibleFilterType =
|
||||
| 'shelfStatus' | 'tag' | 'publishedDate' | 'fileSize' | 'amazonRating'
|
||||
| 'goodreadsRating' | 'hardcoverRating' | 'language' | 'pageCount' | 'mood'
|
||||
| 'ageRating' | 'contentRating'
|
||||
| 'narrator'
|
||||
| 'comicCharacter' | 'comicTeam' | 'comicLocation' | 'comicCreator';
|
||||
|
||||
export const DEFAULT_VISIBLE_FILTERS: VisibleFilterType[] = [
|
||||
@@ -225,6 +226,7 @@ export const ALL_FILTER_OPTIONS: { label: string; value: VisibleFilterType }[] =
|
||||
{label: 'Amazon Rating', value: 'amazonRating'},
|
||||
{label: 'Goodreads Rating', value: 'goodreadsRating'},
|
||||
{label: 'Hardcover Rating', value: 'hardcoverRating'},
|
||||
{label: 'Narrator', value: 'narrator'},
|
||||
{label: 'Comic Character', value: 'comicCharacter'},
|
||||
{label: 'Comic Team', value: 'comicTeam'},
|
||||
{label: 'Comic Location', value: 'comicLocation'},
|
||||
|
||||
+1
@@ -70,6 +70,7 @@ export class ViewPreferencesComponent implements OnInit, OnDestroy {
|
||||
{label: 'Hardcover Rating', field: 'hardcoverRating', translationKey: 'sortHardcoverRating'},
|
||||
{label: 'Hardcover #', field: 'hardcoverReviewCount', translationKey: 'sortHardcoverCount'},
|
||||
{label: 'Ranobedb Rating', field: 'ranobedbRating', translationKey: 'sortRanobedbRating'},
|
||||
{label: 'Narrator', field: 'narrator', translationKey: 'sortNarrator'},
|
||||
{label: 'Pages', field: 'pageCount', translationKey: 'sortPages'},
|
||||
{label: 'Random', field: 'random', translationKey: 'sortRandom'},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user