Skip to content

Commit b2db6aa

Browse files
committed
LITE-13739 Fixed Annotation optimization for Select exclusion.
1 parent 63494d0 commit b2db6aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dj_rql/transformer.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ def select(self, args):
155155

156156
if props:
157157
for prop in props:
158-
self._filtered_props.add(prop.replace('-', '').replace('+', ''))
158+
if not prop.startswith('-'):
159+
self._filtered_props.add(prop.replace('+', ''))
159160

160161
return Q()
161162

0 commit comments

Comments
 (0)