﻿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
13209	the Paginator class doesn't slice self.object_list properly	stefantalpalaru	nobody	"The Paginator class from django.core.paginator is supposed to splice self.object_list when creating the Page object (in the page() method) so only the items on that page are retrieved.

Due to a misunderstanding of the splice syntax, more items than needed are fetched:

{{{ return Page(self.object_list[bottom:top], number, self) }}}

where top = bottom + self.per_page

The correct code is:

{{{ return Page(self.object_list[bottom:self.per_page], number, self) }}}

and the lines where 'top' is computed and adjusted can be removed."		closed	Core (Other)	dev		invalid	Paginator pagination		Unreviewed	1	0	0	0	0	0
