Skip to content

Commit

Permalink
feat: sort series by release date
Browse files Browse the repository at this point in the history
closes #582
  • Loading branch information
gotson committed Jul 29, 2021
1 parent f87e72c commit d15c130
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions komga-webui/src/views/BrowseLibraries.vue
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ export default Vue.extend({
{name: this.$t('sort.name').toString(), key: 'metadata.titleSort'},
{name: this.$t('sort.date_added').toString(), key: 'createdDate'},
{name: this.$t('sort.date_updated').toString(), key: 'lastModifiedDate'},
{name: this.$t('sort.release_date').toString(), key: 'booksMetadata.releaseDate'},
{name: this.$t('sort.folder_name').toString(), key: 'name'},
{name: this.$t('sort.books_count').toString(), key: 'booksCount'},
] as SortOption[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ class SeriesDtoDao(
"created" to s.CREATED_DATE,
"lastModifiedDate" to s.LAST_MODIFIED_DATE,
"lastModified" to s.LAST_MODIFIED_DATE,
"booksMetadata.releaseDate" to bma.RELEASE_DATE,
"collection.number" to cs.NUMBER,
"name" to lower(s.NAME.udfStripAccents()),
"booksCount" to s.BOOK_COUNT,
Expand Down

0 comments on commit d15c130

Please sign in to comment.