[AAE-520] order apps by name when retrieve from the server (#5184)

* order apps bby name when retrieve from the server

* fix order e2e
This commit is contained in:
Eugenio Romano
2019-10-25 02:28:26 +01:00
committed by GitHub
parent 2e03dfa908
commit 0aed1845a0
2 changed files with 2 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ export class AppsProcessCloudService {
} }
const api: Oauth2Auth = this.apiService.getInstance().oauth2Auth; const api: Oauth2Auth = this.apiService.getInstance().oauth2Auth;
const path = this.getApplicationUrl(); const path = this.getApplicationUrl();
const pathParams = {}, queryParams = { status: status }, const pathParams = {}, queryParams = { status: status, sort: 'name' },
headerParams = {}, formParams = {}, bodyParam = {}, headerParams = {}, formParams = {}, bodyParam = {},
contentTypes = ['application/json'], accepts = ['application/json']; contentTypes = ['application/json'], accepts = ['application/json'];

View File

@@ -31,7 +31,7 @@ export class ApplicationsService {
const path = '/deployment-service/v1/applications'; const path = '/deployment-service/v1/applications';
const method = 'GET'; const method = 'GET';
const queryParams = { status: status }, postBody = {}; const queryParams = { status: status, sort: 'name' }, postBody = {};
return this.api.performBpmOperation(path, method, queryParams, postBody); return this.api.performBpmOperation(path, method, queryParams, postBody);
} catch (error) { } catch (error) {