Skip to content

Commit 855c44e

Browse files
committed
Reorder process_lhs/rhs() in builtin_lookup_expr() for consistency with other lookups
1 parent 563072b commit 855c44e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_mongodb_backend/lookups.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616

1717
def builtin_lookup_expr(self, compiler, connection):
18-
value = process_rhs(self, compiler, connection, as_expr=True)
1918
lhs_mql = process_lhs(self, compiler, connection, as_expr=True)
19+
value = process_rhs(self, compiler, connection, as_expr=True)
2020
return connection.mongo_expr_operators[self.lookup_name](lhs_mql, value)
2121

2222

0 commit comments

Comments
 (0)