Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
nczirjak-acdh committed Aug 17, 2020
2 parents d4c3aae + 9afcfd5 commit a5a9173
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Controller/DetailViewController.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ public function generateDetailView(string $identifier): object
$this->basicViewData->extra->tooltip = $tooltip;
}

//get the child view data, if we dont have any arg in the url, then the ajax call will handle the child views
//get the child view data, if we dont have any arg in the url, then the ajax call will handle the child views
$path = \Drupal::request()->getpathInfo();
if (strpos($path, '/oeaw_detail/') !== false && strpos($path, '&page=') === false
if (strpos($path, '/oeaw_detail/') !== false && strpos($path, '&page=') === false
&& strpos($path, '&order=') === false && strpos($path, '&limit=') === false) {
$this->basicViewData->extra->childData = $this->getChildData();
}
Expand Down

0 comments on commit a5a9173

Please sign in to comment.