From 69a9f867b420f08dbde46777131370ad3b71d9a4 Mon Sep 17 00:00:00 2001 From: konrad Date: Sat, 19 Dec 2020 19:23:46 +0000 Subject: [PATCH] Add task filter for reminders (#347) Add task filter for reminders Co-authored-by: kolaente Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/347 Co-Authored-By: konrad Co-Committed-By: konrad --- src/components/list/partials/filters.vue | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/components/list/partials/filters.vue b/src/components/list/partials/filters.vue index 546e2f85..3be7bb50 100644 --- a/src/components/list/partials/filters.vue +++ b/src/components/list/partials/filters.vue @@ -70,6 +70,18 @@ /> +
+ +
+ +
+
@@ -128,6 +140,7 @@ export default { endDate: '', percentDone: 0, usePercentDone: false, + reminders: '', }, flatPickerConfig: { altFormat: 'j M Y H:i', @@ -333,6 +346,9 @@ export default { setPercentDoneFilter() { this.setSingleValueFilter('percent_done', 'percentDone', 'usePercentDone') }, + setReminderFilter() { + this.setDateFilter('reminders', 'reminders') + }, prepareDueDate() { this.prepareDate('due_date', 'dueDate') }, @@ -348,6 +364,9 @@ export default { preparePercentDone() { this.prepareSingleValue('percent_done', 'percentDone', 'usePercentDone', true) }, + prepareReminders() { + this.prepareDate('reminders', 'reminders') + }, }, }