#27303: Allow FilterSpecs to return Q-likes
-------------------------------+--------------------------------------
     Reporter:  Yeago          |                    Owner:  nobody
         Type:  New feature    |                   Status:  new
    Component:  contrib.admin  |                  Version:  1.10
     Severity:  Normal         |               Resolution:
     Keywords:  filterspec     |             Triage Stage:  Unreviewed
    Has patch:  1              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------

Comment (by Tim Graham):

 I'm trying to use AND and OR as they work in SQL:

 The AND operator displays a record if both the first condition AND the
 second condition are true.
 The OR operator displays a record if either the first condition OR the
 second condition is true.

 It seems like your usage of AND is the SQL OR. Rather than the second list
 filter criteria narrowing down the results of the first list filter
 criteria, you want to see objects that match all of the list filters that
 are selected. Is that correct?

--
Ticket URL: <https://code.djangoproject.com/ticket/27303#comment:9>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.9842c7729d605f2a58971034b61eba42%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to