diff --git a/booklore-ui/src/app/features/dashboard/components/dashboard-settings/dashboard-settings.component.ts b/booklore-ui/src/app/features/dashboard/components/dashboard-settings/dashboard-settings.component.ts index 1484254f5..d5adb1702 100644 --- a/booklore-ui/src/app/features/dashboard/components/dashboard-settings/dashboard-settings.component.ts +++ b/booklore-ui/src/app/features/dashboard/components/dashboard-settings/dashboard-settings.component.ts @@ -7,7 +7,6 @@ import {CheckboxModule} from 'primeng/checkbox'; import {InputTextModule} from 'primeng/inputtext'; import {SelectModule} from 'primeng/select'; import {InputNumberModule} from 'primeng/inputnumber'; -import {SortDirection} from "../../../book/model/sort.model"; import {DashboardConfig, ScrollerConfig, ScrollerType} from '../../models/dashboard-config.model'; import {DashboardConfigService} from '../../services/dashboard-config.service'; import {MagicShelfService} from '../../../magic-shelf/service/magic-shelf.service'; @@ -57,10 +56,11 @@ export class DashboardSettingsComponent implements OnInit { sortFieldOptions = [ {label: 'Title', value: 'title'}, {label: 'Title + Series', value: 'titleSeries'}, - {label: 'File Name', field: 'fileName'}, + {label: 'File Name', value: 'fileName'}, {label: 'Date Added', value: 'addedOn'}, {label: 'Author', value: 'author'}, - {label: 'Author + Series', field: 'authorSeries'}, + {label: 'Author (Surname)', value: 'authorSurnameVorname'}, + {label: 'Author + Series', value: 'authorSeries'}, {label: 'Personal Rating', value: 'personalRating'}, {label: 'Publisher', value: 'publisher'}, {label: 'Published Date', value: 'publishedDate'}, diff --git a/booklore-ui/src/app/features/settings/view-preferences-parent/view-preferences/view-preferences.component.ts b/booklore-ui/src/app/features/settings/view-preferences-parent/view-preferences/view-preferences.component.ts index 2fcc08211..7dee71bf4 100644 --- a/booklore-ui/src/app/features/settings/view-preferences-parent/view-preferences/view-preferences.component.ts +++ b/booklore-ui/src/app/features/settings/view-preferences-parent/view-preferences/view-preferences.component.ts @@ -36,8 +36,10 @@ export class ViewPreferencesComponent implements OnInit, OnDestroy { {label: 'Title + Series', field: 'titleSeries'}, {label: 'File Name', field: 'fileName'}, {label: 'Author', field: 'author'}, + {label: 'Author (Surname)', field: 'authorSurnameVorname'}, {label: 'Author + Series', field: 'authorSeries'}, {label: 'Last Read', field: 'lastReadTime'}, + {label: 'Personal Rating', field: 'personalRating'}, {label: 'Added On', field: 'addedOn'}, {label: 'File Size', field: 'fileSizeKb'}, {label: 'Locked', field: 'locked'},