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

Saved filter used on overview page setting overrides due date filter used on upcoming tab #130

Closed
jegelandsdal opened this issue Nov 12, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@jegelandsdal
Copy link

Description

Setting “saved filter used on the overview page” in general settings prevents the date range filter under the upcoming tab from applying. Instead, all tasks matching the saved filter are shown, regardless of the due date and date range settings.
Steps to recreate:

  • Create a task with a due date in the future.
  • Create a saved filter that will match task created.
  • Under Settings → General Settings add the saved filter to the “saved filter used on the overview page” option and save.
  • Navigate to the “Upcoming” tab and select a date range that shouldn’t include the task created.
    Result:
    The task will be shown in the upcoming tab, even though the date range does not match the due date. It seems that the tasks that match the saved filter will be shown, regardless of the date range selected.
    Expected:
    The upcoming tab and selected date range will filter tasks according to due date and the saved filter won’t apply to the upcoming tab.
    Notes:
    I’ve tested this with a saved filter that matches a tag, as well as a saved filter that matches an assigned user, it does not seem to be specific to the saved filter criteria.
    I also noticed that the “saved filter used on the overview page” setting does not appear until the first saved filter is created. Once you create a saved filter, the setting appears but is blank. Once this setting is populated with the saved filter, the bug appears. Attempting to remove the saved filter from this setting does not appear to work. The only way I’ve found to remove this setting once applied is by deleting the saved filter specified or switching the saved filter specified to a throwaway saved filter and deleting that saved filter.

Vikunja Frontend Version

0.21.0

Vikunja API Version

0.21.0

Browser and version

Firefox 118.0.1

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

Task with due date and saved filter matching task
Saved Filter and Task Highlighted
Setting the "saved filter used on the overview page" to the saved filter
Saved Filter on Overview Highlighted
Upcoming tab showing task despite the due date not matching the date range selected
Upcoming Highlghted

@kolaente kolaente added the bug Something isn't working label Nov 13, 2023
@kolaente
Copy link
Member

Fixed in 7f279c9. Please check with the next unstable build if the problem really went away.

@jegelandsdal
Copy link
Author

This appears to be fixed on demo site. Thank you!

@kolaente kolaente transferred this issue from go-vikunja/frontend Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants