[ARVADOS-WORKBENCH2] updated: 1.2.0-460-g1a99655

Git user git at public.curoverse.com
Wed Sep 26 15:02:52 EDT 2018


Summary of changes:
 src/store/side-panel-tree/side-panel-tree-actions.ts | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

       via  1a99655f02501ae941aa070202393813da32779d (commit)
      from  4b8b1d2a1cd72a011574f176ba17b12536558d35 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 1a99655f02501ae941aa070202393813da32779d
Author: Michal Klobukowski <michal.klobukowski at contractors.roche.com>
Date:   Wed Sep 26 21:02:36 2018 +0200

    Fix side panel projects ordering
    
    refs #14187
    
    Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski <michal.klobukowski at contractors.roche.com>

diff --git a/src/store/side-panel-tree/side-panel-tree-actions.ts b/src/store/side-panel-tree/side-panel-tree-actions.ts
index 23c5ea2..3fd2d68 100644
--- a/src/store/side-panel-tree/side-panel-tree-actions.ts
+++ b/src/store/side-panel-tree/side-panel-tree-actions.ts
@@ -14,6 +14,7 @@ import { TreeItemStatus } from "~/components/tree/tree";
 import { getNodeAncestors, getNodeValue, getNodeAncestorsIds, getNode } from '~/models/tree';
 import { ProjectResource } from '~/models/project';
 import { progressIndicatorActions } from '../progress-indicator/progress-indicator-actions';
+import { OrderBuilder } from '../../services/api/order-builder';
 
 export enum SidePanelTreeCategory {
     PROJECTS = 'Projects',
@@ -79,7 +80,10 @@ export const loadSidePanelTreeProjects = (projectUuid: string) =>
             const params = {
                 filters: new FilterBuilder()
                     .addEqual('ownerUuid', projectUuid)
-                    .getFilters()
+                    .getFilters(),
+                order: new OrderBuilder<ProjectResource>()
+                    .addAsc('name')
+                    .getOrder()
             };
             const { items } = await services.projectService.list(params);
             dispatch(treePickerActions.LOAD_TREE_PICKER_NODE_SUCCESS({

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list