[ARVADOS-WORKBENCH2] updated: 1.2.0-477-gb547851

Git user git at public.curoverse.com
Thu Sep 27 10:29:08 EDT 2018


Summary of changes:
 src/store/workflow-panel/workflow-middleware-service.ts | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

       via  b547851c52f8f735d0f9aaad3eea8f79033135fc (commit)
      from  3367b1ff2a1d1050bb435f7bc8230c03435b2529 (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 b547851c52f8f735d0f9aaad3eea8f79033135fc
Author: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
Date:   Thu Sep 27 16:28:56 2018 +0200

    pagination fix
    
    Feature #13857
    
    Arvados-DCO-1.1-Signed-off-by: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>

diff --git a/src/store/workflow-panel/workflow-middleware-service.ts b/src/store/workflow-panel/workflow-middleware-service.ts
index d9ff6ad..49d17f4 100644
--- a/src/store/workflow-panel/workflow-middleware-service.ts
+++ b/src/store/workflow-panel/workflow-middleware-service.ts
@@ -26,7 +26,7 @@ export class WorkflowMiddlewareService extends DataExplorerMiddlewareService {
         const state = api.getState();
         const dataExplorer = getDataExplorer(state.dataExplorer, this.getId());
         try {
-            const response = await this.services.workflowService.list({ order: getOrder(dataExplorer) });
+            const response = await this.services.workflowService.list(getParams(dataExplorer));
             api.dispatch(updateResources(response.items));
             api.dispatch(setItems(response));
         } catch {
@@ -38,16 +38,8 @@ export class WorkflowMiddlewareService extends DataExplorerMiddlewareService {
 export const getParams = (dataExplorer: DataExplorer) => ({
     ...dataExplorerToListParams(dataExplorer),
     order: getOrder(dataExplorer),
-    filters: getFilters(dataExplorer),
 });
 
-export const getFilters = (dataExplorer: DataExplorer) => {
-    const filters = new FilterBuilder()
-        .addILike("name", dataExplorer.searchValue)
-        .getFilters();
-    return `[${filters}]`;
-};
-
 export const getOrder = (dataExplorer: DataExplorer) => {
     const sortColumn = dataExplorer.columns.find(c => c.sortDirection !== SortDirection.NONE);
     const order = new OrderBuilder<WorkflowResource>();

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list