diff --git a/src/components/list/partials/filters.vue b/src/components/list/partials/filters.vue index 1b64102b..0dc05662 100644 --- a/src/components/list/partials/filters.vue +++ b/src/components/list/partials/filters.vue @@ -323,7 +323,11 @@ export default { } } }, - setDateFilter(filterName, variableName) { + setDateFilter(filterName, variableName = null) { + if (variableName === null) { + variableName = filterName + } + // Only filter if we have a start and end due date if (this.filters[variableName] !== '') {