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

Filter by date 'equals' does not work #14869

Open
1 task done
phifogg opened this issue Oct 24, 2024 · 3 comments
Open
1 task done

Filter by date 'equals' does not work #14869

phifogg opened this issue Oct 24, 2024 · 3 comments
Labels
avalanche OSS team bb-filtering Filtering data bug Something isn't working data date Relating to dates, e.g. Date Picker, formatting, etc env - production Bug found in production frontend

Comments

@phifogg
Copy link

phifogg commented Oct 24, 2024

Checklist

  • I have searched budibase discussions and github issues to check if my issue already exists

Hosting

  • Cloud
    • Tenant ID: foggtest

Describe the bug
Filtering on a date column with operator 'equals' does not work.

To Reproduce
Within the attached application, do

  1. Go to 'Data'
  2. Go to table 'datetest'
  3. Inspect data rows and see there are two records. There is a date column with 'date only' active. The two records have a date as of Oct 24th and Oct 31st
  4. Go to database view 'Filter by date equals'. This filters by date equals Oct 24th.
    --> Note that no records is shown. Expected is one record.
  5. Go to database view 'Filter by date more than'. This filters by date 'equals or more than' Oct 24th
    --> One record returned (as expected)

Expected behavior
When filtering a date column with 'equals' and matching values it is expected to return the correct number of database records.

App Export
DateTest-export-1729794038300.tar.gz

Desktop (please complete the following information):

  • OS: OSX and Win11
  • Browser Firefox

Additional context
I tested around and it seems there is some issue with timezone matching. Some date elements seem to convert to my system time (CEST), but the database is storing in in UTC. Hence a parameter for a specific date without hours might be transposed.
Maybe this is causing the culprit, but I am not sure on it.

@phifogg phifogg added the bug Something isn't working label Oct 24, 2024
Copy link

linear bot commented Oct 24, 2024

@ConorWebb96
Copy link
Contributor

Closing as its a duplicate of #14836

@ConorWebb96
Copy link
Contributor

ConorWebb96 commented Oct 25, 2024

Apologies, @phifogg. I closed before reading your additional notes. I'm re-opening it, as your comment here is right. Its quite likely that this is related to timezoning.

I'll have a look at your app now.

~ This seems valid thanks for highlighting this 👍

@ConorWebb96 ConorWebb96 reopened this Oct 25, 2024
@ConorWebb96 ConorWebb96 added date Relating to dates, e.g. Date Picker, formatting, etc data bb-filtering Filtering data frontend env - production Bug found in production avalanche OSS team labels Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
avalanche OSS team bb-filtering Filtering data bug Something isn't working data date Relating to dates, e.g. Date Picker, formatting, etc env - production Bug found in production frontend
Projects
None yet
Development

No branches or pull requests

2 participants