X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/f0a64666816383d2641d5fa7ea22019441ac4464..07bfbbb8c513acfd77f7b6db89d223dbb464f5b0:/src/store/public-favorites-panel/public-favorites-middleware-service.ts diff --git a/src/store/public-favorites-panel/public-favorites-middleware-service.ts b/src/store/public-favorites-panel/public-favorites-middleware-service.ts index a15fe975..b98dfdfc 100644 --- a/src/store/public-favorites-panel/public-favorites-middleware-service.ts +++ b/src/store/public-favorites-panel/public-favorites-middleware-service.ts @@ -54,15 +54,14 @@ export class PublicFavoritesMiddlewareService extends DataExplorerMiddlewareServ try { api.dispatch(progressIndicatorActions.START_WORKING(this.getId())); const uuidPrefix = api.getState().auth.config.uuidPrefix; - const uuid = `${uuidPrefix}-j7d0g-fffffffffffffff`; + const publicProjectUuid = `${uuidPrefix}-j7d0g-publicfavorites`; const responseLinks = await this.services.linkService.list({ limit: dataExplorer.rowsPerPage, offset: dataExplorer.page * dataExplorer.rowsPerPage, filters: new FilterBuilder() - .addEqual('linkClass', LinkClass.STAR) - .addILike("name", dataExplorer.searchValue) - .addEqual('ownerUuid', uuid) - .addIsA("headUuid", typeFilters) + .addEqual('link_class', LinkClass.STAR) + .addEqual('owner_uuid', publicProjectUuid) + .addIsA("head_uuid", typeFilters) .getFilters() }); const uuids = responseLinks.items.map(it => it.headUuid);