You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changes browsing when filtering by date is slow. This is because PostgreSQL doesn't use database index on timestamp once it is coverted to date by using timestamp__date lookup.
A similar approach should be used in weblate/trans/views/changes.py. I am not sure if the same issue affects weblate/metrics/models.py where date lookup is used, but it is there actually to look for date, but it should be investigated as well.
The text was updated successfully, but these errors were encountered:
Describe the issue
Changes browsing when filtering by date is slow. This is because PostgreSQL doesn't use database index on
timestamp
once it is coverted to date by usingtimestamp__date
lookup.I already tried
Steps to reproduce the behavior
Expected behavior
No response
Screenshots
No response
Exception traceback
No response
How do you run Weblate?
Git checkout
Weblate versions
No response
Weblate deploy checks
No response
Additional context
606b60e made the similar change for search.
A similar approach should be used in
weblate/trans/views/changes.py
. I am not sure if the same issue affectsweblate/metrics/models.py
where date lookup is used, but it is there actually to look for date, but it should be investigated as well.The text was updated successfully, but these errors were encountered: