DiscipleTools / DiscipleTools/disciple-tools-theme

Metrics Mapbox Groups maps: Add time filter for start date.

Open
#2,068 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
48
Forks
66
PR merge metrics
No merged PRs in 30d

Description

Could a time filter be added to that page that filters groups based on church start date?
some logic parameters I thought about:
- load the initial page with the filter off
- only base the filter on the church start date field of a group
- if user adds just the filter start date and no end date -> re-query groups with that church start date or after
- if user adds no filter end date -> re-query groups with the church start date or after with no limits
- if user also adds a filter end date -> re-query groups with church start date that falls within the filter start and end date parameters.

![image](https://github.com/DiscipleTools/disciple-tools-theme/assets/24901539/3b1c32fc-f00d-4994-92f3-8ceae28e0ad1)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.