diff --git a/frontend/src/js/component/wb-collection-content.js b/frontend/src/js/component/wb-collection-content.js index 3194e9e..aa1cda4 100644 --- a/frontend/src/js/component/wb-collection-content.js +++ b/frontend/src/js/component/wb-collection-content.js @@ -164,7 +164,11 @@ class WBCollectionContent extends Component { return (
- + ({ name, index })) } + getItemUrl={ it => this.getUrl({ + collectionPath: ('.' + collectionPath).split('/').slice(0, it.index + 1).join('/').substr(1), + page: 0 + }) } /> { (mode === 'manifestDownload') ? ( diff --git a/frontend/src/js/widget/wb-breadcrumbs.js b/frontend/src/js/widget/wb-breadcrumbs.js index a1b6af5..d2887ac 100644 --- a/frontend/src/js/widget/wb-breadcrumbs.js +++ b/frontend/src/js/widget/wb-breadcrumbs.js @@ -1,7 +1,7 @@ import { h, Component } from 'preact'; class WBBreadcrumbs extends Component { - render({ items, onItemClicked }) { + render({ items, onItemClicked, getItemUrl }) { return (