#32809: Filtering with Q and OR gets duplicated entries
-------------------------------------+-------------------------------------
     Reporter:  Ismael Jerez         |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  3.2
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  queryset, Q,         |             Triage Stage:
  filtering, OR, annotation, |       |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Ismael Jerez):

 Forgot to mention that the bug is only happening when the second Q filter
 is used but not with simple '__icontains' filters concatenated by OR
 expressions.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32809#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/072.f78b35d80996062df21382fda1206e35%40djangoproject.com.

Reply via email to