﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
35011	Queryset union can fail depending on the field type and/or order	Thierry Bastian	Simon Charette	"Hello,
I was porting my code to Django 5 and there is an issue with the way queryset are union'ed.
Essentially it ends up trying to convert datetime to int, which is strange. I did not get time to investigate the issue myself.
You can note that the order of fields we use in the .values call affects the behaviour (which is also highly unexpected).

To reproduce the issue, simply untar the attached example, run migrate then test."	Bug	closed	Database layer (models, ORM)	5.0	Normal	fixed		Simon Charette Jacob Rief	Ready for checkin	1	0	0	0	0	0
