Skip to content
Snippets Groups Projects
Commit 847769f1 authored by Karolína Dočkalová Burská's avatar Karolína Dočkalová Burská
Browse files

Merge branch...

Merge branch '44-when-allocating-multiple-sandboxes-clicking-on-show-10-more-button-throws-an-error' into 'master'

Resolve "When allocating multiple sandboxes, clicking on "show 10 more..." button throws an error"

Closes #44

See merge request muni-kypo-crp/frontend-angular/apis/kypo-sandbox-api!50
parents 255eb979 3e1ce9b3
Branches
Tags
No related merge requests found
14.4.3 Fix appending of string prefix in sandboxes endpoint.
14.4.2 Fix sorting of sandboxes endpoint.
14.4.1 Add force to cleanup request.
14.4.0 Change endpoints dealing with sandbox id to use uuid instead.
......
......@@ -324,7 +324,7 @@ export class PoolDefaultApi extends PoolApi {
poolId: number,
pagination?: OffsetPaginationEvent
): Observable<PaginatedResource<SandboxInstance>> {
if (pagination && pagination.sort) {
if (pagination && pagination.sort && !pagination.sort.startsWith('allocation_unit')) {
pagination.sort = `allocation_unit__${pagination.sort}`;
}
return this.http
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment