[Library | develop]: resultLanding.component.ts: [Bug fix] & missing on url update with pid.
This commit is contained in:
parent
8f3d865c91
commit
09df423c6a
|
@ -723,7 +723,7 @@ export class ResultLandingComponent {
|
||||||
}
|
}
|
||||||
if(!this.identifier) {
|
if(!this.identifier) {
|
||||||
this._location.go(( pid ? (this.linkToLandingPage.split("?")[0] + "?pid=" + pid.id):
|
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 {
|
// else {
|
||||||
// this._location.go(this.linkToLandingPage.split("?")[0] + "?pid=" + this.identifier.id);
|
// this._location.go(this.linkToLandingPage.split("?")[0] + "?pid=" + this.identifier.id);
|
||||||
|
|
Loading…
Reference in New Issue