Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance year overview date query #126

Open
filiptypjeu opened this issue Apr 12, 2023 · 1 comment
Open

Enhance year overview date query #126

filiptypjeu opened this issue Apr 12, 2023 · 1 comment

Comments

@filiptypjeu
Copy link
Member

On the year overview page you can find a summary of everything that happened a specific year. The problem is that for functionaries and groups, only the year of the start date is checked.

Say we want to look at year 2000, then these relevant date intervals will not be included (but they should):

  • 1.1.1999 - 31.12.2000
  • 1.1.1999 - 31.12.2001
  • 1.5.1999 - 31.4.2000

I'm guessing some 'start_year <= year <= end_year' query could solve the issue.

@filiptypjeu
Copy link
Member Author

start_year <= year && end_year => year is the correct filter, but I'm not sure how to implement that in the queries for the 'all years' view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant