feat(dashboard-settings): update sort field options for Surname, and Personal Rating (#2456)
Signed-off-by: Balázs Szücs <bszucs1209@gmail.com>
This commit is contained in:
+3
-3
@@ -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'},
|
||||
|
||||
+2
@@ -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'},
|
||||
|
||||
Reference in New Issue
Block a user