mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-03 13:18:57 -04:00
paginate jobs page
(only views/jobs/jobs.html, which is the drill-down page, not the dashboard view)
This commit is contained in:
@@ -38,8 +38,8 @@ class JobApiClient(BaseAPIClient):
|
||||
|
||||
return job
|
||||
|
||||
def get_jobs(self, service_id, limit_days=None, statuses=None):
|
||||
params = {}
|
||||
def get_jobs(self, service_id, limit_days=None, statuses=None, page=1):
|
||||
params = {'page': page}
|
||||
if limit_days is not None:
|
||||
params['limit_days'] = limit_days
|
||||
if statuses is not None:
|
||||
|
||||
Reference in New Issue
Block a user