feat(sort): replace compound sort options with atomic fields and multi-sort support (#2686)

* fix(sidebar): replace routerLinkActive with getter-based route matching to prevent stale highlights

* feat(sort): replace compound sort options with atomic fields and add 6 new sort criteria
This commit is contained in:
ACX
2026-02-10 14:27:07 -07:00
committed by GitHub
parent 78a8bb4fea
commit 0fa84e3424
23 changed files with 509 additions and 190 deletions
@@ -93,17 +93,21 @@ export class DashboardSettingsComponent implements OnInit {
this.sortFieldOptions = [
{label: t('sortFields.title'), value: 'title'},
{label: t('sortFields.titleSeries'), value: 'titleSeries'},
{label: t('sortFields.fileName'), value: 'fileName'},
{label: t('sortFields.filePath'), value: 'filePath'},
{label: t('sortFields.addedOn'), value: 'addedOn'},
{label: t('sortFields.author'), value: 'author'},
{label: t('sortFields.authorSurnameVorname'), value: 'authorSurnameVorname'},
{label: t('sortFields.authorSeries'), value: 'authorSeries'},
{label: t('sortFields.seriesName'), value: 'seriesName'},
{label: t('sortFields.seriesNumber'), value: 'seriesNumber'},
{label: t('sortFields.personalRating'), value: 'personalRating'},
{label: t('sortFields.publisher'), value: 'publisher'},
{label: t('sortFields.publishedDate'), value: 'publishedDate'},
{label: t('sortFields.lastReadTime'), value: 'lastReadTime'},
{label: t('sortFields.readStatus'), value: 'readStatus'},
{label: t('sortFields.dateFinished'), value: 'dateFinished'},
{label: t('sortFields.readingProgress'), value: 'readingProgress'},
{label: t('sortFields.bookType'), value: 'bookType'},
{label: t('sortFields.pageCount'), value: 'pageCount'}
];