Skip to content

Commit

Permalink
fix: avoid double applying filter on other units
Browse files Browse the repository at this point in the history
This is the base query which is then filtered for source and target matches.
  • Loading branch information
nijel committed Feb 14, 2025
1 parent c496fe0 commit 5391cc8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion weblate/trans/views/edit.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ def get_other_units(unit):

base = (
Unit.objects.filter(
query,
translation__component__project=component.project,
translation__language=translation.language,
)
Expand Down

0 comments on commit 5391cc8

Please sign in to comment.