From 95c5c243c3a9b82fe75c8ef1080232917bc133da Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Thu, 4 Aug 2022 15:38:14 +0200 Subject: [PATCH] MOBILE-4011 sitehome: Capture root link --- src/core/features/sitehome/services/handlers/index-link.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/features/sitehome/services/handlers/index-link.ts b/src/core/features/sitehome/services/handlers/index-link.ts index 61850ca27..ebe42ecb3 100644 --- a/src/core/features/sitehome/services/handlers/index-link.ts +++ b/src/core/features/sitehome/services/handlers/index-link.ts @@ -31,7 +31,7 @@ export class CoreSiteHomeIndexLinkHandlerService extends CoreContentLinksHandler name = 'CoreSiteHomeIndexLinkHandler'; featureName = 'CoreMainMenuDelegate_CoreSiteHome'; - pattern = /(\/course\/view\.php.*([?&]id=\d+)|\/index\.php(\?redirect=0)?)/; + pattern = /(\/course\/view\.php.*([?&]id=\d+)|\/index\.php(\?redirect=0)?|\/?\?redirect=0)/; /** * @inheritdoc