#27143: SearchQuery is not combinable using more than one `&` or `|` operators
----------------------------------+--------------------
     Reporter:  hixi              |      Owner:
         Type:  Bug               |     Status:  new
    Component:  contrib.postgres  |    Version:  1.10
     Severity:  Normal            |   Keywords:  Search
 Triage Stage:  Unreviewed        |  Has patch:  0
Easy pickings:  0                 |      UI/UX:  0
----------------------------------+--------------------
 I think there is a bug/oversight on the SearchQuery implementation.

 Working examples:
 * `SearchQuery() & SearchQuery()`
 * `SearchQuery() | SearchQuery()`
 * `SearchQuery() | SearchQuery() & SearchQuery()`

 But using multiple of the same "concatenators" does not:
 * `SearchQuery() & SearchQuery() & SearchQuery()` -> Error
 * `SearchQuery() & SearchQuery() & SearchQuery()` -> Error

 Expected behaviour would be that these do work as well.

--
Ticket URL: <https://code.djangoproject.com/ticket/27143>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/047.0daa33a760cea086f47adb1cbf9f3f36%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to