-
Notifications
You must be signed in to change notification settings - Fork 429
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
chore(sales-dashboard): optimise sales dashboard search query #4377
chore(sales-dashboard): optimise sales dashboard search query #4377
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 3 Skipped Deployments
|
Docker builds report
|
Uffizzi Preview |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4377 +/- ##
==========================================
+ Coverage 96.81% 96.82% +0.01%
==========================================
Files 1165 1165
Lines 38526 38561 +35
==========================================
+ Hits 37299 37338 +39
+ Misses 1227 1223 -4 ☔ View full report in Codecov by Sentry. |
6e04853
to
b9714fc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Changes
Fix badly performing query in the sales dashboard for certain search terms.
How did you test this code?
Ran the sales dashboard locally and grabbed the resulting SQL query from the queryset, ran this against the production database to confirm that the query returned within a reasonable time period.