[Library | develop]: resultLanding.component.ts: [Bug fix] & missing on url update with pid.

This commit is contained in:
Konstantina Galouni 2023-04-21 19:34:41 +03:00
parent 8f3d865c91
commit 09df423c6a
1 changed files with 1 additions and 1 deletions

View File

@ -723,7 +723,7 @@ export class ResultLandingComponent {
}
if(!this.identifier) {
this._location.go(( pid ? (this.linkToLandingPage.split("?")[0] + "?pid=" + pid.id):
(this.linkToLandingPage + this.id)) + (this.prevPath ? ("pv="+this.prevPath) : ""));
(this.linkToLandingPage + this.id)) + (this.prevPath ? ("&pv="+this.prevPath) : ""));
}
// else {
// this._location.go(this.linkToLandingPage.split("?")[0] + "?pid=" + this.identifier.id);