mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-22 10:31:55 -05:00
fix paginate
This commit is contained in:
@@ -67,8 +67,7 @@ def dao_get_jobs_by_service_id(
|
||||
|
||||
stmt = select(*query_filter).order_by(
|
||||
Job.processing_started.desc(),
|
||||
Job.created_at.desc().limit(page_size).offset(page),
|
||||
)
|
||||
Job.created_at.desc()).limit(page_size).offset(page)
|
||||
return db.session.execute(stmt).scalars().all()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user