﻿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
37386	Inconsistent treatment of 0 by ModelAdmin.delete_confirmation_max_display attribute	Jacob Walls	Jacob Walls	"`ModelAdmin.delete_confirmation_max_display` was added first in #10919 (6.1), and it treated zero as ""show no objects"" about to be deleted.

It was then adapted for a very similar use for inlines in #36984 (6.1), but the treatment of 0 was flipped from ""show none"" to ""show all"".

We had an explicit test over the template response for the former case confirming ""no objects shown"", but the flipped logic still caused some overfetching under the hood. Then, for inlines, 0 now means the opposite (""show all"").

Opening a PR with a unit test shortly."	Bug	assigned	contrib.admin	6.1	Release blocker			Karolis Ryselis	Unreviewed	0	0	1	0	1	0
