From 956b5db32cb79a355094320d3f078298285206db Mon Sep 17 00:00:00 2001 From: Petterandre Date: Fri, 18 Sep 2020 10:41:41 +0200 Subject: [PATCH] Added filtering of prosjekter with Lifecycle "Avsluttet" on Homepage (#307) --- SharePointFramework/PortfolioWebParts/src/data/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/SharePointFramework/PortfolioWebParts/src/data/index.ts b/SharePointFramework/PortfolioWebParts/src/data/index.ts index 0b8114d36..fc4c0f84f 100644 --- a/SharePointFramework/PortfolioWebParts/src/data/index.ts +++ b/SharePointFramework/PortfolioWebParts/src/data/index.ts @@ -255,6 +255,7 @@ export class DataAdapter { .getByTitle(strings.ProjectsListName) .items .select('GtGroupId', 'GtSiteId', 'GtSiteUrl', 'GtProjectOwnerId', 'GtProjectManagerId', 'GtProjectPhaseText') + .filter('GtProjectLifecycleStatus ne \'Avsluttet\'') .orderBy('Title') .usingCaching() .get(),