mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[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:
@@ -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'];
|
||||||
|
|
||||||
|
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user