Opened 6 years ago

Last modified 6 years ago

#29694 closed Bug

QuerySet.values_list() combined with .extra() or .annotate() may produce wrong .union() — at Initial Version

Reported by: master Owned by: nobody
Component: Database layer (models, ORM) Version: 2.1
Severity: Normal Keywords: union values_list
Cc: Mariusz Felisiak Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

This is a revival of #29229, as a regression introduced in 2.0.5 and 1.11.13 by #29286.
Please refer to the demo code in the description of #29229, still valuable.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top