Skip to content

Commit

Permalink
LITE-28858 Deployment requests are filtered by -created date
Browse files Browse the repository at this point in the history
  • Loading branch information
maxipavlovic committed Oct 31, 2023
1 parent 03cc4e4 commit 626d1cc
Show file tree
Hide file tree
Showing 4 changed files with 91 additions and 109 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM cloudblueconnect/connect-extension-runner:29.3
FROM cloudblueconnect/connect-extension-runner:29.4

COPY pyproject.toml /install_temp/.
COPY poetry.* /install_temp/.
Expand Down
2 changes: 1 addition & 1 deletion connect_ext_ppr/webapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def list_deployment_requests(
DeploymentRequest.deployment, DeploymentRequest.ppr,
).filter(
DeploymentRequest.deployment_id.in_(deployments),
)
).order_by(desc(DeploymentRequest.created_at))
deployment_requests = dr_filter.filter(deployment_requests)
deployment_requests = dr_filter.sort(deployment_requests)
deployment_requests = apply_pagination(deployment_requests, db, pagination_params, response)
Expand Down
Loading

0 comments on commit 626d1cc

Please sign in to comment.