flake8
passed.
JSHint
passed.
Review Request #12356 — Created June 10, 2022 and submitted
Information | |
---|---|
chipx86 | |
Review Board | |
release-5.0.x | |
Reviewers | |
reviewboard | |
This updates
Profile.is_review_group_starred()
and
Profile.is_review_request_starred()
to avoid a JOIN when checking for
the existence of starred items. We now use thethrough
table to
perform our check, avoiding the need to JOIN theProfile
to the table.
Unit tests pass.
Summary | |
---|---|
Removed double
Q(Q(...))
, now that Djblets filters this out.
Commits: |
|
|||||||||
---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+72 -116) |