mirror of
https://github.com/gotson/komga.git
synced 2025-01-09 12:18:03 +08:00
parent
c8c0c46b46
commit
e3bb8bc7ae
@ -241,10 +241,12 @@ export default Vue.extend({
|
||||
pageSize: 20,
|
||||
totalPages: 1,
|
||||
totalElements: null as number | null,
|
||||
sortOptions: [{ name: 'Number', key: 'metadata.numberSort' }, { name: 'Date added', key: 'createdDate' }, {
|
||||
name: 'File size',
|
||||
key: 'fileSize',
|
||||
}] as SortOption[],
|
||||
sortOptions: [
|
||||
{ name: 'Number', key: 'metadata.numberSort' },
|
||||
{ name: 'Date added', key: 'createdDate' },
|
||||
{ name: 'Release date', key: 'metadata.releaseDate' },
|
||||
{ name: 'File size', key: 'fileSize' },
|
||||
] as SortOption[],
|
||||
sortActive: {} as SortActive,
|
||||
sortDefault: { key: 'metadata.numberSort', order: 'asc' } as SortActive,
|
||||
filterOptionsList: {
|
||||
|
@ -55,6 +55,7 @@ class BookDtoDao(
|
||||
"media.comment" to DSL.lower(m.COMMENT),
|
||||
"media.mediaType" to DSL.lower(m.MEDIA_TYPE),
|
||||
"metadata.numberSort" to d.NUMBER_SORT,
|
||||
"metadata.releaseDate" to d.RELEASE_DATE,
|
||||
"readProgress.lastModified" to r.LAST_MODIFIED_DATE,
|
||||
"readList.number" to rlb.NUMBER
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user