#33772: Queryset first() returns different result than queryset[0] when using
ExpressionWrapper
-------------------------------------+-------------------------------------
     Reporter:  Pablo Pissi          |                    Owner:  Pablo
         Type:                       |  Pissi
  Cleanup/optimization               |                   Status:  closed
    Component:  Database layer       |                  Version:  3.2
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
  ExpressionWrapper,first,queryset   |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Jacob Walls <jacobtylerwalls@…>):

 In [changeset:"02eed4f37879b2077496f86bb1378a076b981233" 02eed4f]:
 {{{#!CommitTicketReference repository=""
 revision="02eed4f37879b2077496f86bb1378a076b981233"
 Fixed #36648, Refs #33772 -- Accounted for composite pks in first()/last()
 when aggregating.
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/33772#comment:13>
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 visit 
https://groups.google.com/d/msgid/django-updates/01070199e4446c45-bc5f5a4d-70c7-4d78-9430-77dcf44314cc-000000%40eu-central-1.amazonses.com.

Reply via email to