diff --git a/corehq/apps/hqadmin/reports.py b/corehq/apps/hqadmin/reports.py index 9c2e953d03f9..a112d6e85dd4 100644 --- a/corehq/apps/hqadmin/reports.py +++ b/corehq/apps/hqadmin/reports.py @@ -379,10 +379,6 @@ def rows(self): return rows - @property - def total_records(self): - return len(self.ucr_domains) - @property def ucr_domains(self): return USER_CONFIGURABLE_REPORTS.get_enabled_domains() @@ -482,7 +478,6 @@ class UCRDataLoadReport(AdminReport): emailable = False exportable = False default_rows = 10 - ajax_pagination = True def __init__(self, request, *args, **kwargs): self.table_data = UCRRebuildRestrictionTable( @@ -496,16 +491,4 @@ def headers(self): @property def rows(self): - start = self.pagination.start - end = self.pagination.start + self.pagination.count - return self.table_data.rows[start:end] - - @property - def total_records(self): - return self.table_data.total_records - - @property - def shared_pagination_GET_params(self): - return [ - {'name': 'ucr_rebuild_restriction', 'value': self.request.GET.get('ucr_rebuild_restriction')} - ] + return self.table_data.rows