From ebc33db3eba0c176b21b01cd6b72cf30017a6ede Mon Sep 17 00:00:00 2001 From: Tomas Mizera Date: Thu, 5 Oct 2023 18:51:15 +0200 Subject: [PATCH] merge url params --- app/inputhelp.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/inputhelp.cpp b/app/inputhelp.cpp index 383f92ce4..dff880a2d 100644 --- a/app/inputhelp.cpp +++ b/app/inputhelp.cpp @@ -70,7 +70,7 @@ QString InputHelp::merginDashboardLink() const int activeWS = mMerginApi->userInfo()->activeWorkspaceId(); if ( activeWS >= 0 ) { - activeWorkspacePathPart = QStringLiteral( "?workspace=%1&" ).arg( activeWS ); + activeWorkspacePathPart = QStringLiteral( "?workspace=%1" ).arg( activeWS ); } } @@ -86,9 +86,9 @@ QString InputHelp::merginDashboardLink() const { queryParams = activeWorkspacePathPart; - // URL can not have two question marks, let's remove the one in the utm tag + // URL can not have two question marks, merge the tags with & QString utms( utmTagAttention ); - utms.replace( "?", "" ); + utms.replace( "?", "&" ); queryParams += utms; } else