Co-authored-by: Eduardo <eo@wavecode.com>
This commit is contained in:
@@ -7,6 +7,7 @@ export class BookSorter {
|
||||
{label: 'Title', field: 'title', direction: SortDirection.ASCENDING},
|
||||
{label: 'Title + Series', field: 'titleSeries', direction: SortDirection.ASCENDING},
|
||||
{label: 'File Name', field: 'fileName', direction: SortDirection.ASCENDING},
|
||||
{label: 'File Path', field: 'filePath', direction: SortDirection.ASCENDING},
|
||||
{label: 'Author', field: 'author', direction: SortDirection.ASCENDING},
|
||||
{label: 'Author (Surname)', field: 'authorSurnameVorname', direction: SortDirection.ASCENDING},
|
||||
{label: 'Author + Series', field: 'authorSeries', direction: SortDirection.ASCENDING},
|
||||
|
||||
@@ -103,6 +103,7 @@ export class SortService {
|
||||
addedOn: (book) => book.addedOn ? new Date(book.addedOn).getTime() : null,
|
||||
fileSizeKb: (book) => book.fileSizeKb || null,
|
||||
fileName: (book) => book.fileName,
|
||||
filePath: (book) => book.filePath,
|
||||
random: (book) => Math.random(),
|
||||
};
|
||||
|
||||
|
||||
+1
@@ -57,6 +57,7 @@ export class DashboardSettingsComponent implements OnInit {
|
||||
{label: 'Title', value: 'title'},
|
||||
{label: 'Title + Series', value: 'titleSeries'},
|
||||
{label: 'File Name', value: 'fileName'},
|
||||
{label: 'File Path', value: 'filePath'},
|
||||
{label: 'Date Added', value: 'addedOn'},
|
||||
{label: 'Author', value: 'author'},
|
||||
{label: 'Author (Surname)', value: 'authorSurnameVorname'},
|
||||
|
||||
+1
@@ -35,6 +35,7 @@ export class ViewPreferencesComponent implements OnInit, OnDestroy {
|
||||
{label: 'Title', field: 'title'},
|
||||
{label: 'Title + Series', field: 'titleSeries'},
|
||||
{label: 'File Name', field: 'fileName'},
|
||||
{label: 'File Path', field: 'filePath'},
|
||||
{label: 'Author', field: 'author'},
|
||||
{label: 'Author (Surname)', field: 'authorSurnameVorname'},
|
||||
{label: 'Author + Series', field: 'authorSeries'},
|
||||
|
||||
Reference in New Issue
Block a user