feat(webui): filter series by read and in progress status

This commit is contained in:
Gauthier Roebroeck 2021-05-31 10:50:22 +08:00
parent d114b0efb2
commit 4195ecbb9a
2 changed files with 8 additions and 2 deletions

View file

@ -164,8 +164,8 @@
"filter_no_matches": "The active filter has no matches",
"genre": "Genre",
"go_to_library": "Go to library",
"go_to_series": "Go to series",
"go_to_readlist": "Go to read list",
"go_to_series": "Go to series",
"locale_name": "English",
"locale_rtl": "false",
"n_selected": "{count} selected",
@ -474,9 +474,11 @@
"age_rating": "age rating",
"age_rating_none": "None",
"genre": "genre",
"in_progress": "In Progress",
"language": "language",
"library": "library",
"publisher": "publisher",
"read": "Read",
"release_date": "release date",
"status": "status",
"tag": "tag",

View file

@ -232,7 +232,11 @@ export default Vue.extend({
},
filterOptionsList(): FiltersOptions {
return {
readStatus: {values: [{name: this.$t('filter.unread').toString(), value: ReadStatus.UNREAD_AND_IN_PROGRESS}]},
readStatus: {values: [
{name: this.$t('filter.unread').toString(), value: ReadStatus.UNREAD_AND_IN_PROGRESS},
{name: this.$t('filter.in_progress').toString(), value: ReadStatus.IN_PROGRESS},
{name: this.$t('filter.read').toString(), value: ReadStatus.READ},
]},
} as FiltersOptions
},
filterOptionsPanel(): FiltersOptions {