diff --git a/komga-webui/src/locales/en.json b/komga-webui/src/locales/en.json index b3fd0fbf2..8cde65548 100644 --- a/komga-webui/src/locales/en.json +++ b/komga-webui/src/locales/en.json @@ -634,6 +634,8 @@ "empty_title": "No duplicate pages found", "filter": { "count": "Count", + "date_added": "Date added", + "date_modified": "Date modified", "delete_count": "Deletion count", "delete_size": "Space saved", "match_count": "Match count", diff --git a/komga-webui/src/views/DuplicatePagesKnown.vue b/komga-webui/src/views/DuplicatePagesKnown.vue index 0392d1387..537e4a7e7 100644 --- a/komga-webui/src/views/DuplicatePagesKnown.vue +++ b/komga-webui/src/views/DuplicatePagesKnown.vue @@ -163,6 +163,8 @@ export default Vue.extend({ {name: this.$t('duplicate_pages.filter.size').toString(), key: 'fileSize'}, {name: this.$t('duplicate_pages.filter.delete_count').toString(), key: 'deleteCount'}, {name: this.$t('duplicate_pages.filter.match_count').toString(), key: 'matchCount'}, + {name: this.$t('duplicate_pages.filter.date_added').toString(), key: 'createdDate'}, + {name: this.$t('duplicate_pages.filter.date_modified').toString(), key: 'lastModifiedDate'}, ] }, paginationVisible(): number { diff --git a/komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/PageHashDao.kt b/komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/PageHashDao.kt index 2bfe3ebc5..30ba86307 100644 --- a/komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/PageHashDao.kt +++ b/komga/src/main/kotlin/org/gotson/komga/infrastructure/jooq/main/PageHashDao.kt @@ -38,6 +38,8 @@ class PageHashDao( "deleteCount" to ph.DELETE_COUNT, "deleteSize" to ph.SIZE * ph.DELETE_COUNT, "fileSize" to ph.SIZE, + "createdDate" to ph.CREATED_DATE, + "lastModifiedDate" to ph.LAST_MODIFIED_DATE, ) private val sortsUnknown =