mirror of
https://gitlab.com/bramw/baserow.git
synced 2025-05-11 03:50:36 +00:00
Resolve "Add new date filter types 'is within X days', 'is within X weeks' and 'is within X months'"
This commit is contained in:
parent
85dcc341e0
commit
4b9be991cc
8 changed files with 602 additions and 38 deletions
web-frontend/modules/database
|
@ -45,6 +45,9 @@ import {
|
|||
DateEqualsTodayViewFilterType,
|
||||
DateBeforeTodayViewFilterType,
|
||||
DateAfterTodayViewFilterType,
|
||||
DateWithinDaysViewFilterType,
|
||||
DateWithinWeeksViewFilterType,
|
||||
DateWithinMonthsViewFilterType,
|
||||
DateEqualsDaysAgoViewFilterType,
|
||||
DateEqualsMonthsAgoViewFilterType,
|
||||
DateEqualsYearsAgoViewFilterType,
|
||||
|
@ -279,6 +282,18 @@ export default (context) => {
|
|||
'viewFilter',
|
||||
new DateAfterTodayViewFilterType(context)
|
||||
)
|
||||
app.$registry.register(
|
||||
'viewFilter',
|
||||
new DateWithinDaysViewFilterType(context)
|
||||
)
|
||||
app.$registry.register(
|
||||
'viewFilter',
|
||||
new DateWithinWeeksViewFilterType(context)
|
||||
)
|
||||
app.$registry.register(
|
||||
'viewFilter',
|
||||
new DateWithinMonthsViewFilterType(context)
|
||||
)
|
||||
app.$registry.register(
|
||||
'viewFilter',
|
||||
new DateEqualsDaysAgoViewFilterType(context)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue