diff --git a/src/app/geosource/components/dataset-detail/dataset-detail.component.html b/src/app/geosource/components/dataset-detail/dataset-detail.component.html
index 2253de5795763989289096c93e59e6282c31f230..ed7db459004034c44638202ad8c845f50c83c2bf 100644
--- a/src/app/geosource/components/dataset-detail/dataset-detail.component.html
+++ b/src/app/geosource/components/dataset-detail/dataset-detail.component.html
@@ -1,7 +1,7 @@
 <div class="page-details-background-image"></div>
 <div class="page-container has-white-background" *ngIf="metadata" [ngClass]="{'blury' : isLoading}">
   <div class="details-header">
-    <app-page-header [pageInfo]="pageHeaderInfo"></app-page-header>
+    <app-page-header [pageInfo]="pageHeaderInfo" [customGoToPreviousPage]="goToPreviousPage"></app-page-header>
   </div>
 
   <div class="tabulations">
diff --git a/src/app/shared/components/page-header/page-header.component.ts b/src/app/shared/components/page-header/page-header.component.ts
index 3166c6e3ce8d934a71d8988783e7d5f943d8add5..e5bb17ba867315d6ae3a6eaab4ce84b1423a457b 100644
--- a/src/app/shared/components/page-header/page-header.component.ts
+++ b/src/app/shared/components/page-header/page-header.component.ts
@@ -17,19 +17,24 @@ export class PageHeaderComponent implements OnInit {
   ) { }
 
   @Input() pageInfo: IPageHeaderInfo;
+  @Input() customGoToPreviousPage: any;
 
   ngOnInit() {
   }
 
   goToPreviousPage() {
-    const index = 1; // Start to retrieve the previous element
-    let url = this._navigationHistoryService.getFromLast(index);
+    if (this.customGoToPreviousPage) {
+      this.customGoToPreviousPage();
+    } else {
+      const index = 1; // Start to retrieve the previous element
+      let url = this._navigationHistoryService.getFromLast(index);
 
-    // If url is null then redirect to home page
-    if (url == null) {
-      url = `/${AppRoutes.home.uri}`;
+      // If url is null then redirect to home page
+      if (url == null) {
+        url = `/${AppRoutes.home.uri}`;
+      }
+      this._router.navigateByUrl(url);
     }
-    this._router.navigateByUrl(url);
   }
 
 }