From 2b53e4a7bf1516c1b4fe9d42abd15cdc865cd87d Mon Sep 17 00:00:00 2001 From: Michal Klobukowski Date: Thu, 26 Jul 2018 14:49:03 +0200 Subject: [PATCH] Fix missing param in favorites api call Feature #13887 Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski --- src/store/favorite-panel/favorite-panel-middleware-service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/favorite-panel/favorite-panel-middleware-service.ts b/src/store/favorite-panel/favorite-panel-middleware-service.ts index 8eb77adffc..a6d0e630f0 100644 --- a/src/store/favorite-panel/favorite-panel-middleware-service.ts +++ b/src/store/favorite-panel/favorite-panel-middleware-service.ts @@ -9,7 +9,7 @@ import { RootState } from "../store"; import { DataColumns } from "../../components/data-table/data-table"; import { FavoritePanelItem, resourceToDataItem } from "../../views/favorite-panel/favorite-panel-item"; import { FavoriteOrderBuilder } from "../../services/favorite-service/favorite-order-builder"; -import { favoriteService } from "../../services/services"; +import { favoriteService, authService } from "../../services/services"; import { SortDirection } from "../../components/data-table/data-column"; import { FilterBuilder } from "../../common/api/filter-builder"; import { LinkResource } from "../../models/link"; @@ -47,7 +47,7 @@ export class FavoritePanelMiddlewareService extends DataExplorerMiddlewareServic const order = FavoriteOrderBuilder.create(); if (typeFilters.length > 0) { favoriteService - .list(state.projects.currentItemId, { + .list(authService.getUuid()!, { limit: dataExplorer.rowsPerPage, offset: dataExplorer.page * dataExplorer.rowsPerPage, order: sortColumn!.name === FavoritePanelColumnNames.NAME -- 2.30.2