﻿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
7091	Paginator failed to use 'limit' statement for MySQL	nicholasdsj@…	nobody	"{{{
# paginator.py:36
    def _get_count(self):
        ""Returns the total number of objects, across all pages.""
        if self._count is None:
            self._count = len(self.object_list)
        return self._count
    count = property(_get_count)
}}}

'''len(self.object_list)''' will force a query without 'limit' statement, it's very severe problem. Instead of using '''len()''' method, an alternative way is to use '''self.object_list.count()''' "		closed	Core (Other)	dev		invalid	paginator mysql		Unreviewed	1	0	0	0	0	0
